PWADMIN(ADM) XENIX System V PWADMIN(ADM)
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 for the user.
-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 to 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 password aging for the user.
-min weeks
Enables password aging and sets the minimum number of
weeks before a password can be changed.
-max weeks
Enables password aging and sets the number of weeks a
password can be used.
Files
/etc/passwd
/etc/default/passwd
See Also
passwd(C), passwd(F)
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 2/7/91)