Linux – How to give a user account root privileges in Fedora 14

fedora-14linuxroot

I want to give my user account root access rights permanently, how can I do that?

I don't want to log in using the root account.

Best Answer

Go to System Settings » Users » Click on the keylock button. You will be asked to enter the root password. Here, change your group from standard to administrator. From now on you can use sudo.

If you want to do it the command line way, follow this link. Enter visudo in a root terminal. Under the following line:

root ALL=(ALL) ALL

Enter:

user ALL=(ALL) ALL

Save by pressing Ctrl-X.

Related Question