Ubuntu – How to give a normal user access only to the /var/log directory

fileslogpermissionsrestricted-access

I have a non-admin user in Ubuntu 12.04 LTS desktop 32-bit OS to whom I need to give permissions only to access /var/log as he needs to monitor logs and create reports related to it.

I do not want to give him admin access at any cost.

How can I achieve this?

Best Answer

Permission to view log files is granted to users being in the group adm.

To add a user to this group on the command line issue:

sudo usermod -aG adm <USER>