Controlling Access Using /etc/dialups and /etc/d_passwd
For additional security in identifying remote users,
add entries into the /etc/dialups and /etc/d_passwd files. These files are used to control the
dialup security feature of login. See dialups(4) and login(1) for more information.
If the /etc/dialups file exists,
the login process compares the terminal to those listed in /etc/dialups. If the terminal exists in /etc/dialups, a password is requested by login. That password
is compared to those in /etc/d_passwd.
In addition, the /etc/passwd file is used to verify the password.
Following is an example of configuring the /etc/dialups file:
# vi /etc/dialups (list the terminals that are allowed)
# vi /etc/d_passwd
The user sees:
To change passwords in /etc/d_passwd, use the passwd command as follows:
# passwd -F /etc/d_passwd shell_path
The shell_path is the
shell path listed in /etc/d_passwd.