/etc/default/passwd


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users /etc/default/passwd
# 1  
Old 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.
# 2  
Old 05-22-2006
With Solaris 8, root can do anything it wants. Limits are not applicable; at least as far as password length. It is up to the sysadmin to make certain that the password is long enough.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

When did AIX start using /etc/security/passwd instead of /etc/passwd to store encrypted passwords?

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

2. AIX

Default /etc/passwd file

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

3. Solaris

difference between /etc/shadow and /etc/default/passwd

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

4. Solaris

passwd cmd reenables passwd aging in shadow entry

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

5. AIX

default on /etc/security/passwd of flags

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

6. Shell Programming and Scripting

/etc/passwd

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

7. Shell Programming and Scripting

wc /etc/passwd

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

8. UNIX for Dummies Questions & Answers

default passwd

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

9. UNIX for Advanced & Expert Users

no /etc/passwd

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

10. UNIX for Dummies Questions & Answers

passwd

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
Login or Register to Ask a Question