d_passwd(4) — FILE FORMATS
NAME
d_passwd − dialup password file
DESCRIPTION
The file /etc/d_passwd is used to implement dialup passwords. The d_passwd file consists of a series of lines in the following format:
pathname:encrypted_password:
If a user is logging in on a port listed in the /etc/dialups file, login opens the /etc/d_passwd file and checks for lines having a pathname field that matches the user’s login shell, as defined in /etc/passwd. If the user’s shell matches the filename field, the user is prompted for a dialup password. The login will not proceed unless the user enters the dialup password that matches the encrypted_password for that shell. After the dialup password is successfully entered, the regular login process continues.
FILES
/etc/d_passwd
/etc/dialups
/etc/passwd
NOTE
No program supports the creation of encrypted entries in the d_passwd. One solution is for the system administrator to create a dummy user, assign that user the dialup password, and then retrieve the line with the encrypted password from the /etc/shadow file. The system administrator can then edit the line to match the format required for the d_passwd file.