Installation guide

Each password must have at least five characters, but not more than eight,
and can include digits, symbols, and the characters of your alphabet. The
password cannot be all lowercase characters. The passwd command
encrypts the specified password and inserts it in the password field of the
passwd file.
To assign an initial password, use the following syntax:
passwd username
For example, to assign an initial password for user marcy, enter the
following command:
# passwd marcy
The system responds with the following prompts. Enter and verify the new
password for the user. To ensure confidentiality, the password will not be
displayed.
Changing password for marcy.
New password:
Please don’t use an all-lower case password.
Unusual capitalization, control characters or digits are suggested.
New password:
Retype new password:
If a hashed passwd database is not in use, the system displays the
following informational message:
Hashed database not in use, only /etc/passwd text file updated.
A hashed passwd database is an indexed database that allows for a faster
search of the passwd file.
9.2.1.5 Verifying the Accuracy of the group and passwd Files
Once you have completed all the tasks for adding a user account, use the
grpck and the pwck commands to check the accuracy of the group and
passwd files.
_______________________ Note _______________________
If your system is running enhanced security, you should also use
the authchk utility to verify the accuracy of the protected
password database.
The grpck command verifies that the number of fields, group name, GID,
and all login names that appear in the passwd file are correct. If any fields
are incorrect, grpck writes the inconsistencies to standard output. For
example:
Administering User Accounts and Groups 9–13