- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Gathering info on password aging / last time c...
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
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
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
12-11-2014 07:50 AM
12-11-2014 07:50 AM
I have several HP-UX 11.0 and 11.11 machines. They are untrusted systems so I can't use that wonderful tool known as getprpw. :)
So far the best command I have found for trying to gather this password info is
#passwd -sa | more
But I'm not quite sure how to read the output of that command.
Here's a sample-
root PS
daemon LK
bin LK
sys LK
adm LK
uucp LK
lp LK
DLR001 PS 06/26/14 0 84
DLR002 PS 07/17/14 0 84
DLR003 PS 09/18/14 0 84
DLR015 PS 05/24/12 0 84
DLR023 LK 06/21/07 0 84
DLR073 LK 06/21/07 0 84
I read the man page for passwd but didn't find many clues to what PS and LK stand for. Is the date listed there the last time the password was changed?
What does that zero indicate before the 84?
84 days = 12 weeks so I think that is how long the passwords last before they have to be changed.
Thanks for any help!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014 09:11 AM
12-11-2014 09:11 AM
Solution>I read the man page for passwd but didn't find many clues to what PS and LK stand for.
It's quite clear, at least in the 11.31 version:
The format of the display will be:
name status mm/dd/yy min max warn
where status means: PS =passworded; LK =locked; and NP =no password.
>Is the date listed there the last time the password was changed?
Most likely, see passwd(4).
Have you looked at "logins -x"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014 10:02 AM
12-11-2014 10:02 AM
Re: Gathering info on password aging / last time changed?
Thanks for the info on PS, LK, and NP.
And the info listed with logins -x looks like it has exactly what I am after. logins -x plus passwd -sa will be very helpful.
Thanks much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014 11:37 AM
12-11-2014 11:37 AM
Re: Gathering info on password aging / last time changed?
>Thanks much!
If you're happy with your answers, please assign kudos by clicking the thumbs up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014 12:26 PM
12-11-2014 12:26 PM
Re: Gathering info on password aging / last time changed?
I have been trying but get nowhere when I click the "kudos" button. Will try from a different browser.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2014 02:11 AM
12-12-2014 02:11 AM
Re: Gathering info on password aging / last time changed?
>have been trying but get nowhere when I click the "kudos" button.
Are you doing it on my posts? You can't do it on your posts.