Would you like to learn how to record the user activity on a terminal of Ubuntu linux? In this tutorial, we are going to show you how to record and replay the users activities on a computer running Ubuntu Linux.

• Ubuntu 18.04
• Ubuntu 19.10

Ubuntu Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Ubuntu.

Tutorial Ubuntu - Record the user terminal activity

Install the required software.

Copy to Clipboard

Create a directory to store the recordings.

Copy to Clipboard

Edit the /etc/profile configuration file.

Copy to Clipboard

Add the following lines at the end of this configuration file.

Copy to Clipboard

As a test, perform a new login on this computer and enter a couple of commands.

Copy to Clipboard

List the recordings available on the server.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

In our example, a session from the user named Gohan was recorded.

Use the following command to see the log of the user session.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Use the following command to see the video recording of the user session.

Copy to Clipboard

Congratulations! You have finished the configuration.