"password min age" setting

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.

You are right, the file is in /etc/security.

You can change these settings from the commandline too with the "chuser" command. See the man page, it is pretty straightforward.

I hope this helps.

bakunin

make a copy of /etc/security/user first

vi /etc/security/user

search for ^default, it will take you to the default stanza

find minage in the default stanza.

Change it to desired value. That will change the minage for all users, unless some users are set individually.