- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Time user was 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
10-11-2006 05:43 AM
10-11-2006 05:43 AM
Time user was created
Is there anyway to tell when a user was created on an 11.11 system?
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2006 05:48 AM
10-11-2006 05:48 AM
Re: Time user was created
Only by inference. Unix does not maintain any notion of a "creation" time. The closest you get is a file or directory's last modification time --- 'mtime'.
With directories, the 'mtime' is updated as entities are added and/or removed.
Hence, the answer to your question is "no, not with assurance; only by inference".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2006 05:51 AM
10-11-2006 05:51 AM
Re: Time user was created
Study the hidden files in the user's home directory. As long as a "skeleton" file hasn't been modified since user creation, you can infer the creation time.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2006 05:51 AM
10-11-2006 05:51 AM
Re: Time user was created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2006 05:53 AM
10-11-2006 05:53 AM
Re: Time user was created
You can look for that in the /var/log/samlog file, but I'm not sure that SAM writes details of its operations. If the user has been created by useradd, any chance to know the user's creation date.
If you can guarantee that all users are created by SAM, use the option of running a script after user creation. I use this and write date of user creation into comment field.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2006 05:56 AM
10-11-2006 05:56 AM
Re: Time user was created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2006 06:02 AM
10-11-2006 06:02 AM
Re: Time user was created
1. you created this user from SAM and you still have a "complete" /var/sam/log/samlog maybe you have a chance to find a record there.
2. If that user has not touched his .profile, .login .kshrc then you can find the information from time stamp of these files.
3. if you never reset your /var/adm/wtmp or you believe that file contain the information long before the user created you can run "last username" to trace when is the first time that user logged on to your server.
4. sometime a very old backup tape may help.