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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password and Policy global change

Status
Not open for further replies.

ctoman

MIS
Oct 29, 2004
23
0
0
US
Aix4.3

Is there a way to change all users password rules?
or do i have to cut and past /etc/security/user

thanks!
 
You can change the default behavior in the /etc/security/user file. The first stanza in the file should start:

default:
admin = false
login = true
su = true
daemon = true
rlogin = true
sugroups = ALL
<etc>

To change the values:

(a) backup the /etc/security/user file
(b) change the values

chsec -f /etc/security/user -s default -a maxage=13 -a minalpha=6 minother=2

This will change the default behavior to have the password expire each 13 weeks, and that each password must have at least 6 alpha characters and 2 non-alpha characters.

You can set the values per user in the same way, just provide the account name in place of "default" in the above line


-glenn
 
sorry, there is a mistake in my previous post.

There should be a "-a" before minother

chsec -f /etc/security/user -s default -a maxage=13 -a minalpha=6 -a minother=2


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top