Is there a way I can check the date that a linux group was created and/or modified? It would be even better if I could pull the last user to modify the group.
feedback
|
|
Assuming we're talking local files here (not LDAP) and no additional auditing software, you're pretty much limited to the metadata of /etc/group; you can see when the file was last modified, but not by whom or which group(s) was affected. | |||
feedback
|
|
Just look in /var/log/secure, I created and modified a group as an example. Please note that the command may not relate to the last session opened, so could be difficult to tell who actually did it: | |||
|
feedback
|
|
You can see the last commands using the
To create the accounting record file:
One thing i can recommend you to do is to alter both your A small sample: mv /usr/sbin/groupadd /usr/sbin/new_groupadd Now create a new
Create the record file:
Well pointed by James Lawrie look in /var/log/secure and all it is rotated files (if the entry is too old already) to find out about when it was last changed, but it will not list if you give users other then root access to add groups. | ||||
|
feedback
|