Do you know that you can monitor what the users are doing in your Linux servers? Acct is an open source application that you can use for this task. This tool comes with the functionality of running in the background and tracking user activity.
Source: LXer – HOW TO MONITOR USER ACTIVITY IN LINUX WITH ACCT