Thanks for the help! I think I am leaning more towards setting the parmams that I want for all users in the default stanza and then if I need to I can always make changes for exceptions to the default.
If it's not, be careful. This can be done, however, it might bight you in the rear too. You could use chuser, however, if you're making single user changes, smit user works like a champ.
I see what you are saying now. I want to be able to say here are the default settings for all new users, not all users. I backed up the /etc/security/users file and then modified these settings under the default stanza:
loginretries = 3
minalpha = 1
minother = 1
minlen = 6
minage = 1
maxage = 8
maxexpired = 8
histexpire = 52
histsize = 12
pwdwarntime = 5
And of course it modified all users including root, so I had to back it out. Don't want my root accounts password expiring. I have some systems with many users and I want to all new users to get these settings without me having to go through and set them each time. Is there a way to say apply these settings but not on root or sys etc?
Option one:
If you have time, the cleanest way to do it is, set the defaults in this user file. Next, go through "smit user", "Change / Show Characteristics of a User" and set any values for users that are not the default. This should include users like root.
Option two:
Create a new stanza for each user that differs from the default:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.