1835119 Members
2561 Online
110076 Solutions
New Discussion

Re: Password Settings

 
SOLVED
Go to solution
Jim92900
Occasional Advisor

Password Settings

Where to look for the default password settings on machine.

Settings like:

1. Password length

2. Maxweek

3. Minweek

4. Number of times the system allows to enter password for a failed password.

Jim
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: Password Settings

passwd -s (name) will give you what you want, I think. From the man page:

-s name Display some password attributes associated with the specified name. Superuser privilege and non-trusted mode is required if the files repository is specified.The format of the display will be:
name status mm/dd/yy min max warn



Pete

Pete
Sundar_7
Honored Contributor
Solution

Re: Password Settings

Jim,

Is your system trusted or nottrusted ?

If your system is not trusted, then you know the items 2, 3 and 4 are not applicable to begin with.

If your system is trusted, then you can use the following commands to gather the info

# /usr/lbin/getprdef

==> this is system wide settings

# /usr/lbin/getprpw

==> individual user settings

You can define some of these parameters in /etc/default/security as well.

Refer manpage of prpwd for the description of the fields in the output of above commands

Sundar.
Learn What to do ,How to do and more importantly When to do ?
Jim92900
Occasional Advisor

Re: Password Settings

Pete:

I think, what i wanted is on the system level how to find out the above...like lenght of password...Maxweek for password...


Jim
Aussan
Respected Contributor

Re: Password Settings

here is a document that can help you

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079990873
The tongue weighs practically nothing, but so few people can hold it