- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- creation date of the login ID
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
07-09-2006 02:30 PM
07-09-2006 02:30 PM
creation date of the login ID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2006 02:43 PM
07-09-2006 02:43 PM
Re: creation date of the login ID
Any such timestamps (along with deactivations/removals) must be custom done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2006 03:53 AM
07-10-2006 03:53 AM
Re: creation date of the login ID
As Clay said, HP-UX does not keep a creation timestamp for a file/user. However, a file's last modification timestamp will function as a creation timestamp as long as the file (actually its inode) has not been modified since it was created. With this in mind, you can try to infer when the user was created from the "dot" files in his/her home directory:
# cd ~user
# ls -ldrt .*
...or by looking at the home directory itself:
# ls -ld ~user
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2006 04:02 AM
07-10-2006 04:02 AM
Re: creation date of the login ID
As the others have said, HP-UX does not track creation date.
About the only way is to cat the date to a file when you create the id.
you can either do this manually, or add a line to your script for id creation.
If this is important info to you, then make sure you write the info to a secure area, and make the file is read only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2006 03:46 PM
07-11-2006 03:46 PM
Re: creation date of the login ID
You can check it by using this command:
# cd ~username
# ls -l .profile
Check the date of the .profile and it will tell which date the user was created. This is true if the file was not modified after that.
Cheers,
Raj.