AIX Password

I need to set password complexities on my existing AIX users. If I go into a specific user and edit their password settings does that apply to the next time they change the password or does it check the existing password against the new settings?

Also is there a local default policy that can be set?

Thank you

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Existing passwords are not checked, the new policy will take effect at the next password change.

Defaults are in /etc/security/user under the "default:" stanza.
"user" is a file under /etc/security and "default:" is the header of a stanza (a chapter, a paragraph, a subsection, whatever you'd like to call it) inside that file.

And case matters in Unix and thus also in AIX, it's "user" not "User".
agcsupportAuthor Commented:
So do I simply edit the default settings in the user file? Once that's done any new user will inherit these settings?
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.


And entries in the user's own stanza (under a header like e. g. "root:") override the respective defaults.
agcsupportAuthor Commented:
Can I copy users file out, edit it then copy back to aix and be ok? Do I need to restart anything for AIX to see the changes?
Copying the file to and fro is basically no problem. Nothing needs to be restarted.

You should be aware, however, that UNIX/AIX use just a linefeed character (LF, 0x0A) to signify "newline", whereas Windows/DOS use carriage return plus linefeed for that purpose (CRLF, 0x0D0A).

So when copying between UNIX/AIX and Windows take care to instruct your file transfer program to leave the "newline" representation intact in the final outcome  (and  other character representations as well, of course).

When using FTP, for example, choose the "ASCII" (or "Text") transfer methode in both (!) directions. FTP will change LF to CRLF when transferring from UNIX to Windows and will change it back from CRLF to just LF when transferring back from Windows to UNIX.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
You have to learn to edit files with VI as this is only thing available in maintenance mode.
agcsupportAuthor Commented:
Thank you for your help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.