Cisco Headend System Release 2.7 Guide De Montage
Appendix A
Managing DTACS User Accounts
150
78-4036705-01 Rev D
5 Locate the following line in the passwd file:
export MAXWEEKS=13
6 Change the expiration period to the number of weeks that you prefer.
Note: We recommend that you keep the expiration period as short as possible.
This helps prevent unauthorized use of your system.
This helps prevent unauthorized use of your system.
7 Locate the following line in the passwd file:
export WARNWEEKS=2
8 Change the warning period to the number of weeks that you prefer.
9 Save the passwd file and close the text editor.
10 Type exit and press Enter to close the xterm window.
9 Save the passwd file and close the text editor.
10 Type exit and press Enter to close the xterm window.
Change a User Password Expiration Period
Use this procedure to change the password expiration period for an individual user
account.
1 Open an xterm window on the DTACS.
2 Log into the DTACS Server as root.
3 Type passwd -r files -x [days] [username] and press Enter.
account.
1 Open an xterm window on the DTACS.
2 Log into the DTACS Server as root.
3 Type passwd -r files -x [days] [username] and press Enter.
Notes:
Type the number of days before a user password expired for [days].
Type the username for [username].
Do not type the brackets [ ] in the command.
4 Verify the expiration period by typing passwd -s [username] and press Enter.
Example: Type passwd -s dtacs and press Enter. The system displays a message
similar to the following:
similar to the following:
dtacs
PS
09/02/09
91
14
user
pw_status
date
MIN
MAX
WARN
The date (09/02/08) is the date the password was set by the user (dtacs).
The MIN (blank) is the minimum number of days before a user is allowed to
change the password. We recommend that you leave this field blank.
change the password. We recommend that you leave this field blank.
The MAX (91) is the number of days after the date that the password is valid.
The WARN (14) is the number of days before the password expires that a
warning banner is displayed.
warning banner is displayed.
Type exit and press Enter to close the xterm window.