Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual page 636

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

Chapter 43. Securing Your Network
chage -M 90 <username>
In the above command, replace <username> with the name of the user. To disable password
expiration, it is traditional to use a value of 99999 after the -M option (this equates to a little over 273
years).
You can also use the chage command in interactive mode to modify multiple password aging and
account details. Use the following command to enter interactive mode:
chage <username>
The following is a sample interactive session using this command:
[root@interch-dev1 ~]# chage davido
Changing the aging information for davido
Enter the new value, or press ENTER for the default
Minimum Password Age [0]: 10
Maximum Password Age [99999]: 90
Last Password Change (YYYY-MM-DD) [2006-08-18]:
Password Expiration Warning [7]:
Password Inactive [-1]:
Account Expiration Date (YYYY-MM-DD) [1969-12-31]:
[root@interch-dev1 ~]#
Refer to the man page for chage for more information on the available options.
You can also use the graphical User Manager application to create password aging policies, as
follows. Note: you need Administrator privileges to perform this procedure.
Click the System menu on the Panel, point to Administration and then click Users and Groups
1.
to display the User Manager. Alternatively, type the command system-config-users at a shell
prompt.
Click the Users tab, and select the required user in the list of users.
2.
Click Properties on the toolbar to display the User Properties dialog box (or choose Properties
3.
on the File menu).
Click the Password Info tab, and select the check box for Enable password expiration.
4.
Enter the required value in the Days before change required field, and click OK.
5.
610

Advertisement

Table of Contents
loading

Table of Contents