I need help deploying an application on my Amazon Linux server and the remote worker that I'm working with will likely need to be provided with root-level access. I've never provided anyone else access to my server, so am worried about how to track changes that are made.
Monitoring bash / commands:
I've considered using ~/.bash_history to monitor command-line changes, but it doesn't list the directories from which the commands are coming, so I'm not sure it's a complete solution
Monitoring changes to files / directories:
I'm looking for something like git but for the whole system... Is there a way of doing this? From what I've read, running 'git init' at / is not a viable option.
What are good ways of monitoring / logging changes at the user level across the server ?