Cisco Headend System Release 2.7 Installation Guide

Page of 188
 
 
 
Password Expiration Period 
 
78-4036705-01 Rev D 
151 
 
Disable the Password Expiration Period 
You can disable the password expiration period that is applied when creating new 
users or when changing passwords or for an individual user.  
Important: 
 
New users added to the server after the password expiration period has changed 
automatically inherit the new password expiration period. 
 
Existing users' individual expiration periods remain in force until the user's 
password is changed (either by an administrator or by the user). 
 
Unless the system password expiration period is disabled, all user accounts will 
inherit the system password expiration period each time they change their 
passwords, even if the user's expiration period has been disabled. 
 
If you set the value of MAXWEEKS to -1, you disable password expiration. 
 
Disable the Password Expiration Period for the System 
Use this procedure to disable the password expiration period for the entire system. 
1  Open an xterm window on the DTACS Server. 
2  Log into the DTACS Server as root
3  Type cd /etc/default and press Enter
4  Open the passwd file in a UNIX text editor. 
5  Locate the following line in the passwd file: 
export MAXWEEKS=13 
6  Change the expiration period to –1 (negative one). 
7  Locate the following line in the passwd file: 
export WARNWEEKS=2 
8  Change the warning period to  –1 (negative one). 
9  Save the passwd file and close the text editor. 
10  In the xterm window, type source . ./passwd and press Enter. The system will 
use the updated passwd file. 
11  Type exit and press Enter to close the xterm window. 
Important: Existing users' individual expiration periods remain in force until the 
user's password is changed (either by an administrator or by the user).