Results 1 to 5 of 5
I have an account that I need to promote to the same permissions, access levels etc that ROOT has (for testing purposes). Can anyone give me the procedure on how ...
- 04-17-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 2
Promote a user to Roots level
I have an account that I need to promote to the same permissions, access levels etc that ROOT has (for testing purposes). Can anyone give me the procedure on how to do this. I am very unfamiliar with Linux.
- 04-17-2007 #2
To the best of my knowledge, there can only be one root user (or user with root privileges) in the Linux permissions hierarchy. You should be able to give them close to the same privileges, but not full-fledged root.
You could add the user to the "sudoers" group and let them run with root privileges temporarily by using the sudo command and their regular user password.Registered Linux user #270181
TechieMoe's Tech Rants
- 04-17-2007 #3Just Joined!
- Join Date
- Apr 2007
- Posts
- 2
So I would just type the following command "sudo [user] [password]"
- 04-17-2007 #4Close, but I think the command is something like sudo adduser username admin. See the tutorials below for confirmation.
Originally Posted by itdweeb999
http://www.linuxhomenetworking.com/w...Users_and_Sudo
http://ubuntuforums.org/showthread.php?t=162867
The user you're giving privileges would type something like this when they wanted to run a command with temporary root privileges. Say they wanted to install something using apt-get:
And the command runs.Code:sudo apt-get install foo Password: <user enters their password>
Registered Linux user #270181
TechieMoe's Tech Rants
- 04-17-2007 #5Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
If you are giving someone root access, you are giving them root. There is no way around this and it is a bad idea unless you are running system maintenence - In which case you would simply use root anyway. If a user needs to do something they do not have permission for then you should grant them that permission alone.
This has always been the way in Unix and you will find Windows admins are coming around more to this. Traditionally the task has been to close off access in response to threats but a more appropriate and easier method is to remove all access and simply grant what is required.


Reply With Quote
