Shadow password mode is a state in which account
and password security information and passwords are stored in a file, /etc/shadow, that can only be accessed by a superuser.
The standard password file, /etc/passwd, retains
all the other customary information, except that the password fields
for all users is changed to an x.
See pwconv(1M) and shadow(4) for details.
To Switch to Shadow Password Mode |
|
Execute the following command:
For each entry in /etc/passwd, the password is changed to x, and the password
and password aging information are transferred to /etc/shadow.
To Switch to Standard Password Mode |
|
Execute the following command:
For each entry in /etc/shadow, the password and the password time limit information are stored
in the password field of the user entry in /etc/passwd. Account aging and the password warn limit are discarded. The /etc/shadow file is deleted.