LNEXT
ONELCLEAN
BOTCLEAN
UTERMINAL
TERMINAL
NEXT
$V1$
HILINE
PAUSE
q - to quit <CR> - to continue
PWASNTAX
SYNTAX: pwadmin [-min weeks -max weeks] options
-d user - displays the password aging information
-f user - forces user to change his or her password
at the next login
-c user - prevents user from changing his or her password
-a user - enables password aging for the given user
and sets the MINWEEKS and MAXWEEKS values to defaults
of 0 and 63 or to the values specified in the
/etc/default/passwd file
pwadmin usage:
-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
-max weeks - enables password aging and sets the
number of weeks so the user can keep his current
password set for weeks
NOTE: The options -max and -min always precede other
options in the pwadmin command.
GO
The pwadmin command performs
password aging administration.
The syntax of the command is shown above.
Most of the functions of the pwadmin can also be
performed manually using password-ese representation.
The first character after the comma determines the maximum
number of weeks the password is valid.
j9WikFldT2,K7
^
The second character after the comma determines the minimum
number of weeks that must transpire before the password may
be changed again by the user.
j9WikFldT2,K7
^
The remaining characters tell when the password was
most recently changed. This field is also checked
when the user logs in, and if the password has
expired, the user is required to change it before
he can log in. To require the user to change the
password immediately after he logs in the entry
would look like:
j9WikFldT2,K7.
^
To read the information from your password file,
you must first know how to count in password-ese.
The way to count is: . stands for 0, / stands for 1,
0 thru 9 represent the numbers 2-11, A through Z
represent 12-37, and a through z represent 38-63.
Therefore, K stands for 23, 7 represents 9, and 0
represents 2, etc.
j9WikFldT2,K7L
^
With this information in mind,
please enter the pwadmin command
to display the password aging
information for the user jwm.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type $COMMAND$
Please type $COMMAND$
You will be helped this time!
$PROMPT$
FORGET1
$COMMAND$
Please observe the result:
Minimum weeks 4
Maximum weeks 10
$PROMPT$
$PROMPT$
Please enter the command to set
the minimum number of weeks before
the user jwm can change the
password to 7 and the maximum to 36.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type
pwadmin -min 7 -max 36 -d jwm
Please type
pwadmin -min 7 -max 36 -d jwm
You will be helped this time!
$PROMPT$
FORGET2
pwadmin -min 7 -max 36 -d jwm
Please observe the result:
Minimum weeks 7
Maximum weeks 36
$PROMPT$
The password aging and administration is one of the
best features for keeping a secure and a dependable
system.