Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
13
rated 0 times [  13] [ 0]  / answers: 1 / hits: 21691  / 2 Years ago, wed, july 13, 2022, 1:14:02

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?


More From » permissions

 Answers
0

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>

[#28250] Wednesday, July 13, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cocal

Total Points: 236
Total Questions: 111
Total Answers: 123

Location: Belarus
Member since Tue, Mar 14, 2023
1 Year ago
;