- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Determine the last password changed for a user...
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
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
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-15-2010 07:05 AM
тАО03-15-2010 07:05 AM
Determine the last password changed for a user on non-trusted systems
I need to know how can i determine the last password been changed for a user on hp-ux non trusted system. Though i've used the following commands, but didn't get the desired result:
logins -ax -l root
root 0 sys 3
/ts/root
/sbin/sh
PS 000000 -1 -1 -1
-1 000000
passwd -s
root PS
N.B.: Here i need to know the last password been changed for ROOT, though the above commands shud show me the date when it was changed, but nothing is shown. Kindly help me out on this case ASAP...!!
Cheers,
Amitav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 07:15 AM
тАО03-15-2010 07:15 AM
Re: Determine the last password changed for a user on non-trusted systems
A bit more information would be useful. What operating system version are you running? Is your '/etc/passwd' file a legacy one or is it a shadow implementation? What does the 'root' line in '/etc/passwd' look like?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 08:12 AM
тАО03-15-2010 08:12 AM
Re: Determine the last password changed for a user on non-trusted systems
The OS version is 11.11. No we do not have the /etc/shadow implementation. Below the few lines from /etc/passwd:
root:lxrrf6so5QX2o:0:3::/ts/root:/sbin/sh
daemon:*:1:5::/:/sbin/sh
bin:*:2:2::/usr/bin:/sbin/sh
sys:*:3:3::/:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 08:32 AM
тАО03-15-2010 08:32 AM
Re: Determine the last password changed for a user on non-trusted systems
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
тАО03-15-2010 08:32 AM
тАО03-15-2010 08:32 AM
Re: Determine the last password changed for a user on non-trusted systems
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2010 02:32 AM
тАО03-16-2010 02:32 AM
Re: Determine the last password changed for a user on non-trusted systems
You don't have password aging so you can't tell when it was changed.
>Bill: You have a standard password so nothing is logged when the password is changed.
If you have password aging with standard password, you can tell to the Wednesday when it was reset.