AIX Password

Posted on 2014-10-31
Medium Priority
Last Modified: 2014-11-07
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

Question by:agcsupport
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 68

Expert Comment

ID: 40416271
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.
LVL 68

Expert Comment

ID: 40419580
"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".

Author Comment

ID: 40419630
So do I simply edit the default settings in the user file? Once that's done any new user will inherit these settings?
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

LVL 68

Expert Comment

ID: 40419681

And entries in the user's own stanza (under a header like e. g. "root:") override the respective defaults.

Author Comment

ID: 40420374
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?
LVL 68

Accepted Solution

woolmilkporc earned 2000 total points
ID: 40420398
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.
LVL 62

Expert Comment

ID: 40423993
You have to learn to edit files with VI as this is only thing available in maintenance mode.

Author Closing Comment

ID: 40429333
Thank you for your help.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month14 days, 5 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question