Cisco Headend Digital Broadband Delivery System

Pagina di 148
 
Chapter 4    Password Management 
 
 
 
40 
4034689 Rev A 
Changing a User Password Expiration Period 
Note: This topic applies to OS login accounts on the DNCS, the RNCS, and the 
Application Server. 
Use this procedure to change the password expiration period for an individual user 
account. 
  
WARNING: 
Do not enable password aging for any of the default users (root, dncs, 
informix, dncsSSH, dncsftp, or easftp). The system (or components within the 
system) will become unstable if any of these default user passwords expire.
 
1  Open an xterm window on the system. 
2  Log into the system as root: 
a  At the prompt, type 
su -
 and press Enter
b  Type the root password and press Enter
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. 
Example: For user jonesx, type the following and press Enter
passwd -r files -x 180 jonesx
 
4  Verify the expiration period by typing 
passwd -s [username]
 and press 
Enter.  
Example: Type 
passwd -s jonesx
 and press Enter. The system displays a 
message similar to the following: 
jonesx
 
PS    
 
09/02/1
0
 
0
 
180
 
14
 
user  
 
pw_status 
 
date
 
MIN
 
MAX
 
WARN
 
 
The date (09/02/10) is the date the password was set by the user (jonesx). 
 
The MIN (0) is the minimum number of days before a user is allowed to 
change the password. We recommend that you leave this field blank. 
 
The MAX (180) 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. 
5  Type 
exit
 and press Enter to close the xterm window.