- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to get date of last password created
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
11-12-2008 02:09 AM
11-12-2008 02:09 AM
How to get date of last password created
How can I get the date of the last password created for any user?
For example: uer Joe create his password on Nov. 11, 2008. Is there any command could report when Joe created his last password on the date?
Any help and comments
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2008 04:38 AM
11-12-2008 04:38 AM
Re: How to get date of last password created
See my C program here:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1282383
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2008 11:26 AM
11-12-2008 11:26 AM
Re: How to get date of last password created
# /bin/passwd -s joe
joe PS 09/02/08 21 91 7
Here, 9/20/08 is the date of password reset. 21, 91, 7 are the...(check the man page)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2008 11:47 AM
11-12-2008 11:47 AM
Re: How to get date of last password created
/usr/lbin/getprpw -m spwchg username
This will display the date & time that the password was last SUCCESSFULLY changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2008 08:29 AM
11-14-2008 08:29 AM
Re: How to get date of last password created
e.g. To get the output for one user colon-delimited.
logins -xtol username
To get the output for all users colon-delimited:
logins -xto
Beware that dates are MMDDYY format and that if the password has never been changed the date is 000000 .