Solved

AIX Password

Posted on 2014-10-31
8
213 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
[X]
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
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
Independent Software Vendors: 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!

 
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

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 have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

688 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