Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable password expiry period

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,

I would like to disable the password expiration period for 2 of the AIX users. Anyone wants know how to do it?


Regards,
Wee Keong
 
I suspect you may find some entries in the /etc/security/passwd file, bus since we create our limited users by default with password exipe set to none I'm not sure where this info is kept.

But if you uset smitty users you could go and alter the setting for your 2 users, at the password expiration field just press F1 to see the options.

Hope it will help you... IBM Certified Specialist - MQSeries
 
Hi,

I tried to use smitty user->Change / Show Characteristics of a User:

By pressing F1 on the field give no help.


The 2 users have profile as follows:
EXPIRATION date (MMDDhhmmyy)
[0]
Is this user ACCOUNT LOCKED? false +
User can LOGIN? true +
User can LOGIN REMOTELY? true +
Days to WARN USER before password expires [7] #
Password CHECK METHODS
[]
Password DICTIONARY FILES
[]
NUMBER OF PASSWORDS before reuse [0] #
WEEKS before password reuse [0] #
Weeks between password EXPIRATION and LOCKOUT
[-1]
Password MAX. AGE [5] #
Password MIN. AGE [0] #
Password MIN. LENGTH [0] #
Password MIN. ALPHA characters [0] #
Password MIN. OTHER characters [0] #
Password MAX. REPEATED characters [8] #

Where should be the right place to set?


Thanx.
 
/etc/security/user file
Maxage from 5 to 0 should do it.


maxage Defines the maximum number of weeks a password is valid. The
* default is 0, which is equivalent to unlimited. Range: 0 to 52.
*
* maxexpired Defines the maximum number of weeks after maxage that an expired
* password can be changed by a user. The default is -1, which
* is equivalent to unlimited. Range: -1 to 52. maxage must
* be greater than 0 for maxexpired to be enforced. (root is
* exempt from maxexpired.)


There is a default stanza for all users and there is a stanza for each user...
If you set that user to 0 for maxage........ and or do in smit...it may solve your situation.

Read the readme at the top of the /etc/securty/user file for more info.

 
As someone who is on the "bad boy list" of IS Security, I can definitely tell you that setting MAX AGE to zero will keep your password from expiring.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top