- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to find the creation date of a particular 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
тАО12-31-2003 07:01 PM
тАО12-31-2003 07:01 PM
How to find the date on which a user/group is created/modified. Is there any programmatic way to find this assuming that Auditing is not enabled for "/etc" directory.
Pl. help.
Thanks,
Karthik S S
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2004 01:03 AM
тАО01-01-2004 01:03 AM
Re: How to find the creation date of a particular user or group
Thanks,
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2004 01:34 AM
тАО01-01-2004 01:34 AM
SolutionI think the answer is probably no, you can't do this. Anyone with root priviliges can edit the /etc/passwd and /etc/group file, and there's no easy way of telling what was changed.
You could keep a copies of the files somewhere else, and compare them regularly, but that might not give you the granularity you require.
Or if all users/groups are added through SAM, you could examine the contents of /var/sam/log/samlog (IIRC).
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2004 01:43 AM
тАО01-01-2004 01:43 AM
Re: How to find the creation date of a particular user or group
you could do a daily compare with the file of yesterday. Make a copy of /etc/passwd and /etc/group and compare them once a day, recording the differences.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2004 02:06 AM
тАО01-01-2004 02:06 AM
Re: How to find the creation date of a particular user or group
ll -t /home/
Groups are named as an entry in /etc/group but there is no other record. In fact, groups are simply numbers associated with a file's inode. If an entry does not exist in /etc/group, files can still be assigned a group number and ll will show that number. So a group is more of a documentation feature. /etc/group also defines multiple group membership but there is no record kept of changes to /etc/group.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2004 04:02 PM
тАО01-01-2004 04:02 PM
Re: How to find the creation date of a particular user or group
I wish if Version Control can be enabled by default for important configuration files in Unix .... :-((
Thanks again,
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2004 11:58 PM
тАО01-01-2004 11:58 PM
Re: How to find the creation date of a particular user or group
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2004 11:00 AM
тАО01-02-2004 11:00 AM
Re: How to find the creation date of a particular user or group
you can recover /etc/group /etc/passwd to a none root file system. the day the group change appears, recover sulog, wtmp, sylog. history files etc.. start with the oldest backup first, use some algorythm to work forward.
Rory