PWADMIN(C) XENIX System V PWADMIN(C)
Name
pwadmin - Performs password aging administration.
Syntax
pwadmin [ -min weeks -max weeks ] options
Description
pwadmin is used to examine and modify the password aging
information in the password file. The options one can
specify are as follows:
-d user
Displays the password aging information.
-f user
Forces the user to change his password at the next
login.
-c user
Prevents the user from changing his password.
-a user
Enables password aging for the given user. This
option sets the minimum number of weeks that the user
must wait before changing his password and the
maximum number of weeks that a user can keep his
current password for the values defined by the
MINWEEKS and MAXWEEKS variables in the
/etc/default/passwd file. If the file is not found
or the defined values are not in the range 0 to 63,
the default values 2 and 4 are used.
-n user
Disables the password aging feature.
-min weeks
Enables password aging and sets the minimum number of
weeks before the user can change his password to
weeks. (This prevents him from changing his password
back to the old one).
-max weeks
Enables password aging and sets the number of weeks
so the user can keep his current password set for
weeks.
Files
/etc/passwd
/etc/default/passwd
See Also
passwd(C), passwd(M)
Notes
The user must not attempt to force a new password by setting
both the -min and -max values to zero. To force a password,
use the -f option.
The user must not attempt to prevent further password
changes by setting the -min value greater than the -max
value. To prevent changes, use the -c option.
Page 1 (printed 8/7/87)