You can add the login option for authenticating PAP credentials to any PPP configuration file. When login is specified, for example, in /etc/ppp/options, pppd verifies that the caller's PAP credentials exist in the Solaris password database. The following table shows the format of a /etc/ppp/pap-secrets file with the login option.
Table 36–6 /etc/ppp/pap-secrets With login Option
Caller |
Server |
Password |
IP Addresses |
---|---|---|---|
joe |
* |
“ “ |
* |
sally |
* |
“ “ |
* |
sue |
* |
“ “ |
* |
The parameters have the following meanings:
Caller |
Names of all authorized callers. |
Server |
Asterisk, which indicates that any server name is valid. The name option is not required in the PPP configuration files. |
Password |
Double quotes, which indicate that any password is valid. If you type a password in this column, then the password that is supplied by the peer must match both the PAP password and the UNIX passwd database. |
IP Addresses |
Asterisk, which indicates that any IP address is allowed. |