- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Gathering info on password aging / last time chang...
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP