08-17-2004
AIX: Default Password Parameters
I am working on AIX flavor of Unix and was trying to run a script to obtain default settings of user passwords. The script uses the command to obtain default valid user attributes for:
/etc/security/user
for some reason, the message says-
cat: cannot open /etc/security/user
/etc/security/limits: No such file or directory
resource allocations AIX:
cat: cannot open /etc/security/limits
/etc/security/environ: No such file or directory
environment attributes AIX:
cat: cannot open /etc/security/environ
/etc/security/mkuser.default: No such file or directory
default account settings AIX:
cat: cannot open /etc/security/mkuser.default
/.secure/etc/passwd: No such file or directory
My question is why the script is unable to pull out the required information whereas it did it successfully when I last used it two months ago. Second, what command should be typed to manually obtain the default setting of password parameters (e.g. umask, loginretries, minage, maxage, minlen, minalpha, histsize, etc....)
Any assistance will be greatly appreciated.....
ASheikh
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Need Help,
I am new in unix. (AIX UNIX - RS 6000).
I need a unix script to be able to change a unix password
by just passing the user id and the new password.
I need this script for the reason that my unix password
should be the same on my applicatiion... (2 Replies)
Discussion started by: randyth
2 Replies
2. UNIX for Advanced & Expert Users
System Parameters:
maximum number of processes = 2048
Network parameters:
ipqmaxlen - 512
rfc1323 - 1
sb_max - 1310720 (2*655360)
tcp_recvspace - 65536
tcp_sendspace - 65536
Udp_recvspace - 655360
Udp_sendspace 65536 (1 Reply)
Discussion started by: R00tSc0rpi0n
1 Replies
3. UNIX for Dummies Questions & Answers
I'm not knowledgeable about UNIX and I have a question.
I'm an IT Auditor and I'm looking for my client's User Profile password settings. In some versions of UNIX it is in the etc/profile or etc/login files but in SCO and HP UNIX it is in a different file. Does anyone know which file?
Thanks (1 Reply)
Discussion started by: kristleigh
1 Replies
4. AIX
Hi
I want to create a user on AIX box. The only problem I have is I want to set it a password and the user doesn't have to change the password at his initial login. Is there any flag to do that. Any help would be appreciated. (6 Replies)
Discussion started by: bandaru
6 Replies
5. AIX
Hello,
How can I setup the ulimit for memory permanent
ulimit -m unlimited
ulimit -a Output from the ulimit command should be similar to the following:time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2097152
stack(kbytes) 32768... (4 Replies)
Discussion started by: filosophizer
4 Replies
6. AIX
Hi,
My server is an AIX server. Whenever a new user is created through smitty,
the first time he logs in, he has to change his password.
But i want to disable it and to enable the password expiry to a month. (i.e) after every month, he has to change his password.
Any help in this matter... (1 Reply)
Discussion started by: mac4rfree
1 Replies
7. AIX
Hi guys.... I found in basement one functional ThinkPad Power Series 850 from my father, unfortunately he is forgotten username and password for operating system (AIX 4.14) :wall:.
if anyone has any idea how to get in? (2 Replies)
Discussion started by: Alfons_x
2 Replies
8. AIX
Hi Guy's
Just I want to know the default settings of security password in AIX there is some changes happened in my machine when I try to change my password I'm getting this message
Changing password for "root"
root's New password:
a minimum of 1 elapsed week between changes.... (1 Reply)
Discussion started by: Mr.AIX
1 Replies
9. AIX
I am try to tuning a parameter in AIX 5L and 6 (for performance issue.)
I find a link(https://forums.oracle.com/forums/thread.jspa?threadID=886358)
The thread mention two parameter below, I can use "ndd" command to tuning.
tcp_deferred_ack_interval = 2
tcp_deferred_ack_max = 2
but I... (3 Replies)
Discussion started by: nnnnnnine
3 Replies
10. AIX
Hi,
we've a gigabit Ethernet adapter. And we wanted to improve the performance by tuning network parameters. so' as per IBM info center,
http://publib.boulder.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.prftungd%2Fdoc%2Fprftungd%2Fnetw_opt.htm
we tried changing the tuning... (2 Replies)
Discussion started by: System Admin 77
2 Replies
auth(5) File Formats Manual auth(5)
Name
auth - auth database
Description
The database is a repository of security-relevant information about each user of the system. This database contains the encrypted password
associated with the user's account in addition to a list of assorted capabilities. The database is stored as an database in the files and
Records are retrieved with the library routine. Access to the database is restricted to the superuser and members of the group
Auth records may be converted to an ASCII representation whose format is:
1000:4KvidFYwovnwp3j8lll78dC1:1920129:3600:2678400:03:0:1000:0:00:00
The first field is the UID of the entry that is used as the key into the database. Then follows:
Encrypted Password
This is the user's encrypted password. Whether this password or the one from the file is actually used is determined by the
security level that the system is running at.
Password Modification Time
This is the time(2) the password was last set.
Minimum Password Lifetime
This is the minimum number of seconds which must elapse between setting passwords.
Maximum Password Lifetime
This is the maximum period of time for which the password will be valid.
Account Mask These are capabilities pertaining to the account itself. They are:
1 A_ENABLE: this account is enabled.
2 A_CHANGE_PASSWORD: The user can change his or her password.
4 A_ENTER_PASSWORD: The user is not required to use machine-generated passwords.
Login Failure Count
This is the count of unsuccessful login attempts since the last successful login.
Audit ID Positive integer identifier used in generating audit records for the user.
Audit Control See the reference page, SET_APROC_CNTL section for more information.
Audit Mask Determines which events will be audited for the user. See the and reference pages for more information.
Restrictions
Only the superuser and members of the group may read information from the auth database. Only the superuser may modify the auth database.
Files
See Also
audcntl(2), getauthuid(3), getpwent(3), edauth(8)
auth(5)