Save root or user history to check later
Some times we need a way to automatically save any user’s or root’s activity so that we can check later. In environment, where root account is accessible by multiple people, its very helpful to exactly know who did what and when? In my case, I have found that some files are changed mysteriously but I was clueless as there are more than one users with root access.
To save the activity/history of any user (including root), you need to open the user’s .bash_profile from his home directory.