11-27-2009
I would go for the default: stanza in /etc/security/user and add "flag =" there and try out if it works for you.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I set a default password in sco unix?
Because I'm writing a script to add users. Therefore, I need to set a default password and then force them to change it the first time they log in,,,so, I want to know the syntax to include it in my script...
thankx...
note: I already check the man... (1 Reply)
Discussion started by: johis
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
I am trying to set some password settings in my unix (System V Release 5) unix.
Currently i have the following settings for /etc/default/passwd
PASSREQ=yes
PASSLENGTH=7
MAXWEEKS=8
MINWEEKS=0
WARNWEEKS=1
MAXRETRY=5
HISTORY=5
According to above settings the password... (1 Reply)
Discussion started by: skneeli
1 Replies
3. AIX
Hi All,
As i asked you in my previous post, I want to read username and lastupdate only from /etc/security/passwd and write the same data to another file:
The data in /etc/security/passwd will be in this form for example:
smith:
password = MGURSj.F056Dj
lastupdate = 623078865
flags =... (0 Replies)
Discussion started by: me_haroon
0 Replies
4. AIX
Hi,
How do I read username and lastupdate attribute values from /etc/security/passwd file and write the obtained data to another file. The data in the new file should be in this format as shown:
avins:12345
root:45234
xyza:23423
Plese let me know this ASAP
Thanks,
Haroon (3 Replies)
Discussion started by: me_haroon
3 Replies
5. Solaris
Hi Folks,
I have Solaris 10, latest release.
We have passwd aging set in /etc/defalut/passwd.
I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging.
When I reset the users passwd using passwd command, it re enables... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
6. AIX
Hello All,
Can anyone post the default /etc/passwd file for AIX?
I would like to compare with an existing machine of mine and want to identify what are the default users that are created when the O/S is installed.
In other words I would like to see the system users in AIX. Not the ones created... (1 Reply)
Discussion started by: lovesaikrishna
1 Replies
7. AIX
Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies