- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Obtaining value of password change?
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
05-30-2007 08:52 AM
05-30-2007 08:52 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 09:00 AM
05-30-2007 09:00 AM
Solution# /usr/lbin/getprpw
for each user on the system. This will show all kinds of info, including the last password change date. 'man getprpw' for more info.
For either trusted or untrusted do:
# passwd -sa
to show info for all users. It will show the date the passwd was last changed. 'man passwd' for more info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 09:20 AM
05-30-2007 09:20 AM
Re: Obtaining value of password change?
Thank you for the quick response!
Would this command identify the password age information on all versions of the HP-UX OS whether it is trusted or not? Also, would it be possible for you to provide me with a sample of the kind of output I can expect upon running this command?
Thank You,
Ender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 07:52 PM
05-30-2007 07:52 PM
Re: Obtaining value of password change?
you can use the pwage command as well.
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 08:12 PM
05-30-2007 08:12 PM
Re: Obtaining value of password change?
Take a look at the man page for passwd(1), under -s and -a, where the output is defined; checking this on the systems you are interested it will also help you tell if it is supported on all of them. I'd suggest also running it on your systems; given what you're asking it seems odd to ask someone else to provide an example when you can do it just as easily.
The format of the output varies depending on whether password aging information is present. Note that you have to be root to run 'passwd -sa', for security reasons.
I don't know where you would get 'pwage' from, it's not part of HP-UX.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 11:50 PM
05-30-2007 11:50 PM
Re: Obtaining value of password change?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 03:12 AM
05-31-2007 03:12 AM
Re: Obtaining value of password change?
Thank you for your quick and insightful responses. The reason I am asking these questions and looking for example outputs is due to the fact that I do not have access to any HP-UX servers. I am gathering information for documentation purposes to help assist those with minimal knowledge in specific areas of HP-UX.
From what I gather, performing the command "passwd -sa" as root will yield the results I am looking for (password age for all accounts) on all systems, correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 03:46 AM
05-31-2007 03:46 AM
Re: Obtaining value of password change?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 03:18 PM
05-31-2007 03:18 PM
Re: Obtaining value of password change?
They start on WED if you are west of GMT. Though there may be a day of grace?