Operating System - HP-UX
1752775 Members
5763 Online
108789 Solutions
New Discussion юеВ

Re: HP-UX 11.31 User password change min days = 3

 
jason_lee
Honored Contributor

HP-UX 11.31 User password change min days = 3

Hi,
We have HP-UX 11.31 IA-64. We would like to have this security restriction:

"Minmum number days to elapse before a password can be changed = 3"

I used SMH to modify the System Default's "Security Attr. Config" for PASSWORD_MINDAYS=3
Then I create a new user, eg: user1
When done, in the "Detail view of user":user1.
....
....
PASSWORD_MINDAYS = 7

Why System value =3, User value =7?

Jason.
15 REPLIES 15
Johnson Punniyalingam
Honored Contributor

Re: HP-UX 11.31 User password change min days = 3

>>"Minmum number days to elapse before a password can be changed = 3"<<<

does it mean globel or only for particular user account

>>Why System value =3, User value =7? <<<

you need check /etc/default/security file


Hope this helps

Regards,
Johnson

Problems are common to all, but attitude makes the difference
jason_lee
Honored Contributor

Re: HP-UX 11.31 User password change min days = 3

Hi Johnson,

Of course, I would like it to be a global default, that's the reason I'm configuring it at the "System Default's security attributes configuration".

jason_lee
Honored Contributor

Re: HP-UX 11.31 User password change min days = 3

Hi Johnson,

grep MINDAY /etc/default/security | grep -v \#

PASSWORD_MINDAYS=3

So, back to my question, why the new user created have a PASSWORD_MINDAYS=7 instead?

Johnson Punniyalingam
Honored Contributor

Re: HP-UX 11.31 User password change min days = 3

Check below

See /etc/default/security

There is a man page and current settings can be viewed.

http://www.docs.hp.com/en/B2355-60103/security.4.html

http://docs.hp.com/en/B2355-60127/security.4.html
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: HP-UX 11.31 User password change min days = 3

Download the pdf file of "HP-UX System Administrator's Guide: Security Management HP-UX 11i Version 3" from the below link.

http://docs.hp.com/en/5992-3387/5992-3387.pdf
Problems are common to all, but attitude makes the difference
jason_lee
Honored Contributor

Re: HP-UX 11.31 User password change min days = 3

Johnson,
I've already shown you, the content of /etc/default/security for PASSWORD_MINDAYS. It is already set to 3. Why the new user's PASSWORD_MINDAYS=7?

Any idea?
Johnson Punniyalingam
Honored Contributor

Re: HP-UX 11.31 User password change min days = 3

/usr/lbin/getprpw -l output what does its shows ?
Problems are common to all, but attitude makes the difference
jason_lee
Honored Contributor

Re: HP-UX 11.31 User password change min days = 3

Johnson,
man getprpw - "displays the user's protected password database settings ......This command is aval only to the superuser in a trusted system...

We didn't setup trusted system, does it mean that those "PASSWORD_XYZ" settings cannot work? I don't think so, since I've set those "PASSWORD_MIN_UPPER/SPECIAL/DIGIT/LOWER_ etc" & it is working. The system is enforcing the user to use a special characters etc when changing password.

Any other idea?
Johnson Punniyalingam
Honored Contributor

Re: HP-UX 11.31 User password change min days = 3

>>>man getprpw - "displays the user's protected password database settings ......This command is aval only to the superuser in a trusted system...<<<<

Above error Ok, becoz Its not trusted system or you are not "Super User" like root
Problems are common to all, but attitude makes the difference