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!

password "min age" setting 1

Status
Not open for further replies.

pdtak

Technical User
Feb 25, 2008
63
US
How do you change default setting on password expiration field?
My default setting has 15 weeks for "password min age", and I would like it to be 0 for all of my current users as well as futures users created.
I guess there's a default file that I need to update, but I don't know where it is.
Thanks.
 
Look at the "default:" entry in /etc/security/user. Be aware though, that any setting that you change for the "default:" will be applicable on any user that doesn't have different settings explicitly defined in this same file.
 
defaults are held in file /usr/lib/security/mkuser.default

Take a copy of this file and then make any changes required

Remember that if you upgrade the operating system this file may be updated as well
 

Password defaults are not in /usr/lib/security/mkuser.default. That only has:

user:
pgrp = staff
groups = staff
shell = /usr/bin/ksh
home = /home/$USER

 
unixfreak was right, I didn't see what I needed to see from /usr/lib/security/mkuser.default
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top