Answer the question
In order to leave comments, you need to log in
How to get information about user activities for several days in OS UNIX?
Hello!
There is a server on unix/ ubuntu , I need to view the actions of a specific user: what files he changed, what he created, where he went and, most importantly, when. How to do it?
Sincerely ,
Almik
Answer the question
In order to leave comments, you need to log in
If you weren't prepared for it in the first place, then no way. If the actions were performed in the console, then something may be in history. Changed and created files can be found with the command find /target_directory -type f -mtime -3
, something else may be reflected in the logs, but you won’t recognize most of them. Tell the goal, maybe there is a specific tool, but in the basic version - no way.
you can also see in ~/.bash_history what commands the user entered at all, unless of course he cleans it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question