05-22-2006
/etc/default/passwd
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 lenght should work. But that is working only for users but not for root. right now i can give 3 letter password to root and it's accepting. Is there any other file i need to look to enforce those settings to root.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello,
I don't why I can't change the password, when ever I try to run passwd I get the problem??!!!
unixws1:ldb> passwd
passwd: Changing password for ldb
Permission denied
regards,
me (2 Replies)
Discussion started by: geoquest
2 Replies
2. UNIX for Advanced & Expert Users
Hello ppl,
A small mistake of mine has led the /etc/passwd file deleted. So i went to rescue mode and used the following command echo "root::0:0:Superuser:/:/bin/bash" > passwd
but that did not get effect in anyway way. when I switch back to normal mode the root is still asking for a passwd.... (3 Replies)
Discussion started by: cyno
3 Replies
3. 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
4. Shell Programming and Scripting
I have left unix for a long time.Almost forget everthing.:(
Anybody can tell me what is the meaning?
wc /etc/passwd
9 16 1155 /etc/passwd
and
$ wc -l /etc/passwd
wc -l /etc/passwd
9 /etc/passwd (1 Reply)
Discussion started by: zhshqzyc
1 Replies
5. Shell Programming and Scripting
Hello All
I want to print only the full name from the /etc/passwd file and print it to the screen .
Could you please let me know how can I do that? (4 Replies)
Discussion started by: supercops
4 Replies
6. AIX
Hi All,
On /etc/security/passwd, I want a default of "flags =" on every entry on the userid.
Like
>tail -10 /etc/security/passwd
perdov:
password = xxccddsp.
lastupdate = 1250109948
flags =
jong:
password = rtyderferf
lastupdate =... (4 Replies)
Discussion started by: itik
4 Replies
7. 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
8. Solaris
Hi , can anyone explain me the difference between /etc/shadow and /etc/default/passwd . As per my knowledge both the files are used for password aging and control parameters. (2 Replies)
Discussion started by: rogerben
2 Replies
9. 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
10. 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
vipw(1B) SunOS/BSD Compatibility Package Commands vipw(1B)
NAME
vipw - edit the password file
SYNOPSIS
/usr/ucb/vipw
DESCRIPTION
vipw edits the password file while setting the appropriate locks, and does any necessary processing after the password file is unlocked. If
the password file is already being edited, then you will be told to try again later. The vi(1) editor will be used unless the environment
variable VISUAL or EDITOR indicates an alternate editor.
vipw performs a number of consistency checks on the password entry for root, and will not allow a password file with a "mangled" root entry
to be installed. It also checks the /etc/shells file to verify the login shell for root.
FILES
/etc/ptmp
/etc/shells
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
passwd(1), vi(1), passwd(4), attributes(5)
SunOS 5.10 14 Sep 1992 vipw(1B)