- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to find creation time of 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
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
05-30-2006 10:09 PM
05-30-2006 10:09 PM
how to find creation time of a user?
I would like to find the time when a particular user is created. can i find in any log file. or otherwise using stat system call or any other functions can i find that time. plz help me.
Thanks in advance.
Regards,
M.Sukumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 10:30 PM
05-30-2006 10:30 PM
Re: how to find creation time of a user?
You can look at the time of the files .login , .kshrc , .exrc , .cshrc ... if they weren't used, thet will give you the date of the creation of the user.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 10:32 PM
05-30-2006 10:32 PM
Re: how to find creation time of a user?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 10:40 PM
05-30-2006 10:40 PM
Re: how to find creation time of a user?
¿Have you tried lo look at samlog through sam?? Obiously, it will work for you if the user was created by sam
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 10:41 PM
05-30-2006 10:41 PM
Re: how to find creation time of a user?
if the user was created recently using SAM, there may be something in the samlog.
Otherwise no specific log exists for this, unless auditing was switched on.
Best guess would be to use the oldest file in the users directory, or go through all your backups and check when the users home-dir apears.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 10:42 PM
05-30-2006 10:42 PM
Re: how to find creation time of a user?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 11:25 PM
05-30-2006 11:25 PM
Re: how to find creation time of a user?
There is no *creation* timestamp maintained for files in Unix. The closest thing is the last *modification* timestamp which at the time a file is first created will represent a creation date/time. Thereafter, any change to the content of the file or directory alters the 'mtime' (modification timestamp). A 'touch' can be used to alter a file's timestamps. For more information, see 'stat(2)', 'utime(2)' and 'touch(1)'.
Regards!
...JRF...