- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX 11.31 User password change min days = 3
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 07:10 PM
тАО11-03-2009 07:10 PM
HP-UX 11.31 User password change min days = 3
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 07:23 PM
тАО11-03-2009 07:23 PM
Re: HP-UX 11.31 User password change min days = 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 07:26 PM
тАО11-03-2009 07:26 PM
Re: HP-UX 11.31 User password change min days = 3
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".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 07:29 PM
тАО11-03-2009 07:29 PM
Re: HP-UX 11.31 User password change min days = 3
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 07:31 PM
тАО11-03-2009 07:31 PM
Re: HP-UX 11.31 User password change min days = 3
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 07:33 PM
тАО11-03-2009 07:33 PM
Re: HP-UX 11.31 User password change min days = 3
http://docs.hp.com/en/5992-3387/5992-3387.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 07:36 PM
тАО11-03-2009 07:36 PM
Re: HP-UX 11.31 User password change min days = 3
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 08:00 PM
тАО11-03-2009 08:00 PM
Re: HP-UX 11.31 User password change min days = 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 09:27 PM
тАО11-03-2009 09:27 PM
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...
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 09:46 PM
тАО11-03-2009 09:46 PM
Re: HP-UX 11.31 User password change min days = 3
Above error Ok, becoz Its not trusted system or you are not "Super User" like root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 09:49 PM
тАО11-03-2009 09:49 PM
Re: HP-UX 11.31 User password change min days = 3
That's not error, I'm showing you, it is from the output of "man".
Anyways, I'm running as root & we don't have trusted system enabled. My point is, since the given command will only work for trusted system, so, no point for me to run it right?
Why did you ask me to run that command in the first place? What's the relation to the problem I have?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 10:06 PM
тАО11-03-2009 10:06 PM
Re: HP-UX 11.31 User password change min days = 3
I thought was trusted system which you running my BAD,
what else did you tried ? after you changed "PASSWORD_MINDAYS=7" to 3?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 10:43 PM
тАО11-03-2009 10:43 PM
Re: HP-UX 11.31 User password change min days = 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 10:52 PM
тАО11-03-2009 10:52 PM
Re: HP-UX 11.31 User password change min days = 3
I hope you never go through docs which was attached above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 11:21 PM
тАО11-03-2009 11:21 PM
Re: HP-UX 11.31 User password change min days = 3
If you are not trusted, the default is in units of weeks. 3 gets rounded up to 7.
http://docs.hp.com/en/B2355-60130/passwd.4.html#d0e1054375
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 10:27 AM
тАО11-04-2009 10:27 AM
Re: HP-UX 11.31 User password change min days = 3
that's not correct. It should work with the std password file as well. The issue is that everything gets rounded to increments of 7 days.
try setting it to say, 10 days, and observe what happens. It will either reamin 7 or bump to 14 (I don't recall)