- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to determine WHEN a password expires
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
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
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
03-16-2006 05:11 AM
03-16-2006 05:11 AM
Example:
user1:azcy1Z048POVc,7.VR:100:20::/home/user1:/usr/bin/ksh
So in the above example what does the
,7.VR
represent?
Is it the number of days until the password expires?
If so HOW can a decrypt how many days?
Cheers
p.s. this is for a non-trusted HP11i system.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 05:25 AM
03-16-2006 05:25 AM
SolutionThe attached perl script script will do the trick:
pwleft.pl user1 user2 ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 05:26 AM
03-16-2006 05:26 AM
Re: How to determine WHEN a password expires
See the manpages for 'passwd(4)'. The section headed "Password Field" describes how to interpret the age.
http://docs.hp.com/en/B2355-60127/passwd.4.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 05:29 AM
03-16-2006 05:29 AM
Re: How to determine WHEN a password expires
The string ",7.VR" should be interpreted as follows ",max min" weeks:
"," delimits the password aging from the encrypted password.
"7" == 9 weeks i.e. user must change password after 9 weeks.
"." == 0 weeks i.e. user cannot change password before 9 weeks.
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 05:36 AM
03-16-2006 05:36 AM
Re: How to determine WHEN a password expires
See also 'logins':
# logins -al user
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 05:53 AM
03-16-2006 05:53 AM
Re: How to determine WHEN a password expires
BTW. Please see the latest responses in:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1009292
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 08:53 PM
03-16-2006 08:53 PM
Re: How to determine WHEN a password expires
to see when password will expire you can use the pwage command.
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 01:00 AM
03-17-2006 01:00 AM
Re: How to determine WHEN a password expires
Nice to come in to work early this morning and see all your responses.
I'll enjoy reading them over a fresh coffee.
Arturo...Is that pwage command a 3rd party command? Or which version of HP-UX are you on because I can't find it on any of my HP-UX 11i servers.
Cheers,
Kevin