PASSWD(M) XENIX System V PASSWD(M)
Name
passwd - The password file.
Description
Passwd contains the following information for each user:
-Login name
-Encrypted password
-Numerical user ID
-Numerical group ID
-Comment
-Initial working directory
-Program to use as shell
Refer to finger(C) for information in the required format of
the comment field for finger(C) to display the information.
Each user is separated from the next by a newline. If the
password field is null, no password is demanded; if the
shell field is null, sh(C) is used.
This file resides in the directory /etc. Because the
passwords are encrypted, the file has general read
permission and can be used, for example, to map numerical
user IDs to names.
The encrypted password consists of 13 characters chosen from
a 64-character alphabet (., /, 0-9, A-Z, a-z), except when
the password is null, in which case the encrypted password
is also null. Password aging is in effect for a particular
user if his encrypted password in the password file is
followed by a comma and a nonnull string of characters from
the above alphabet. (Such a string must be introduced by the
super-user.) The first character of the age denotes the
maximum number of weeks for which a password is valid. A
user who attempts to log in after his password has expired
will be forced to supply a new one. The next character
denotes the minimum period in weeks which must expire before
the password may be changed. The remaining characters define
the week (counted from the beginning of 1970) when the
password was last changed. (A null string is equivalent to
zero.) The first and second characters must have numerical
values in the range 0-63, where the dot (.) is equal to 0
and lowercase z is equal to 63. If the numerical value of
both characters is 0, the user will be forced to change his
password the next time he logs in. If the second character
is greater than the first, only the super-user will be able
Page 1 (printed 8/7/87)
PASSWD(M) XENIX System V PASSWD(M)
to change the password.
Files
/etc/passwd
See Also
login(M), passwd(C), a64l(S), getpwent(S), group(M),
pwadmin(C).
Page 2 (printed 8/7/87)