- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to get Password Last changed for a user on Hpu...
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-26-2010 03:51 AM
03-26-2010 03:51 AM
How to get Password Last changed for a user on Hpux Non-Trusted machine
Looked at some forums to get the answers, but non of them gave the required answer.
Is there any C/C++ API or a command to get the exact password last change date (day, month, year and time)
Os version: Hpux B.11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2010 04:58 AM
03-26-2010 04:58 AM
Re: How to get Password Last changed for a user on Hpux Non-Trusted machine
But...you might be able to set something up from this point forward.
If password aging is set on the user account, then in their home directory create a file that has
To avoid passwords being reset early or out of schedule, you could manage that in the /etc/default/security file.
There's holes in this I know that would need tuning, but maybe on a non-trusted system they could be worked out.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2010 05:00 AM
03-26-2010 05:00 AM
Re: How to get Password Last changed for a user on Hpux Non-Trusted machine
logins -ax -l
man logins
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2010 04:53 AM
03-30-2010 04:53 AM
Re: How to get Password Last changed for a user on Hpux Non-Trusted machine
passwd -x 3 -n 9 test1
and output of the passwd -s test1 is
test2 PS 12/11/08 14 7
14 - min, that must transpire before the user can change the password
7 - max, a password can remain unchanged
What will the date stands for?
12/11/08 -
Is it the password last changed date(approx)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2010 07:13 AM
03-30-2010 07:13 AM
Re: How to get Password Last changed for a user on Hpux Non-Trusted machine
>Is it the password last changed date(approx)?
Yes, that's what I found when I did it. Dec 11, 2008.