Solved

AIX Password

Posted on 2014-10-31
8
211 Views
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

Ron
0
Comment
Question by:agcsupport
  • 4
  • 3
8 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
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.
0
 
LVL 68

Expert Comment

by:woolmilkporc
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".
0
 

Author Comment

by:agcsupport
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?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 68

Expert Comment

by:woolmilkporc
ID: 40419681
Yep!

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

Author Comment

by:agcsupport
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?
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 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.
0
 
LVL 62

Expert Comment

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

Author Closing Comment

by:agcsupport
ID: 40429333
Thank you for your help.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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.

840 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