- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- user info
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-02-2002 01:27 PM
05-02-2002 01:27 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 01:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 01:36 PM
05-02-2002 01:36 PM
Re: user info
Maybe go look at the last log or check backups to get a round about time.
-Yates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 01:37 PM
05-02-2002 01:37 PM
Re: user info
"First logon" .. possible by tracing utmp/wtmp file entries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 01:40 PM
05-02-2002 01:40 PM
Re: user info
I don't think you can do this. But if you are sure about users .profile files from home directory were not modified then time stamp would give you general idea when it was created.
But this would be just guessing.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 11:11 PM
05-02-2002 11:11 PM
Re: user info
Its very dificult to say when the user has been created.
But there is a command called 'last' which can give you when the user had last logged in.
# last sukant
sukant pts/tb Fri Apr 26 21:00 - 21:00 (00:00)
sukant pts/tb Fri Apr 26 20:59 - 21:00 (00:00)
sukant pts/tb Fri Apr 26 20:59 - 20:59 (00:00)
sukant pts/tb Wed Apr 24 15:08 - 15:09 (00:00)
sukant pts/tb Wed Apr 24 12:25 - 12:25 (00:00)
wtmp begins Mon Apr 22 14:04
Just my two cents.
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 11:24 PM
05-02-2002 11:24 PM
Re: user info
no general way, but you can check out this very easy with the following command:
cat /etc/passwd | wc -l
output is the number of lines in /etc/passwd, for each user account one line. When you do this command next time, and the number increased, new accounts where configured.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 11:37 PM
05-02-2002 11:37 PM
Re: user info
If this is a trusted system, check the timestamp of the TCB profile e.g.
# ll /tcb/files/auth/s/steven
While a home directory is optional during account creation, the created TCB profile is always created during account creation.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 01:09 AM
05-03-2002 01:09 AM
Re: user info
Steven:
Unfortunately, you're not right. The timestamp of the TCB profile always is changed when you login. That's because
of the fields 'u_succhg' and 'u_unsuclog' that are
updated at each login (successful or unsuccessful).
Even using 'll -c' you obviously get not the time of the inode creation.
So in my opinion, too, there's no way to really get the
time of account creation (beside the docs of the other
authors).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 01:38 AM
05-03-2002 01:38 AM
Re: user info
Yes, you are right. Thanks for pointing out the mistake.
Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 02:37 AM
05-03-2002 02:37 AM
Re: user info
How about putting a file (let's call it $home/.000file) in their $HOME as part of the create process and make it non-writable, non readable, invisible (000)? If you use sam to add users, you can customize it to add this step. Then you could always check the date on $home/.000file.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 02:47 AM
05-03-2002 02:47 AM
Re: user info
They can't read the file, or write to it, but they can delete it...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 03:01 AM
05-03-2002 03:01 AM
Re: user info
I reckon the closest is the wtmp/utmp files providing they have not been purged.
For the future I would create a file using the following command
touch /etc/skel/.creation
now all new user accounts creted will have a file in the home directory with the cretaion date.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 03:41 AM
05-03-2002 03:41 AM
Re: user info
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 03:46 AM
05-03-2002 03:46 AM
Re: user info
I still think that this approach will work 99% of the time. Most users wouldn't even see the file let alone remove it.
Oh well.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 08:18 AM
08-25-2003 08:18 AM
Re: user info
it provides everything you need.