i would like to set all users to be root. How can i do it? I am using ubuntu.
migrated from stackoverflow.com Mar 7 '11 at 21:17
There is only one
If you want to give all users administrative privileges, run this command for each user:
Just give everyone the root password.
It is sadly simply not possible to give anyone the same privilegues as root, because root is special, and even overrides all filesystem permissions. If Windows e.g. it is possible to tell Administrator not to go into a directory, and then we won't be able to do that (althought he might give himself the permission).
On Linux root just can do everything. Some things can JUST be done by root, like opening server ports below 1024. No one else can do this. Period.
PS: I don't know WHY you want to do it, but maybe sudo is the way to go. I can't believe you want everyone to do everything. Try to specify what everyone is allowed to do, and add it into the sudo config.
You ought to be a bit more discerning about who you give root privileges to.
Since you're using Ubuntu - and I assume don't want certain users to have to keep
This will allow user with username