Results 1 to 3 of 3
hi guys iam trying to put a user tim that can run any command as root, but can not run commands any other users the file to look in is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-20-2013 #1
- Join Date
- Mar 2013
add user to root in /etc/sudoers help
hi guys iam trying to put a user tim that can run any command as root, but can not run commands any other users
the file to look in is /etc/sudoers by running this cmd /usr/sbin/visudo
root ALL=(ALL) ALL ...how would i change this for tim
Last edited by whatsup1234; 03-20-2013 at 06:18 PM.
- 03-20-2013 #2
What's wrong with root, why you want to rename it? It can be done easily, but what's the benefit?
- 03-21-2013 #3
You would add Tim with the same ALL=(ALL) ALL. But then this defeats your objective of blocking Tim from running commands from any other user as now Tim has full rights to the whole system.
A better thing to do would be to allow Tim to execute only the commands you want him to and not give him full root access speaking strictly from a security standpoint.
The adventure of a life time.
Linux User #296285