-   Linux - Newbie (
-   -   sudoer list: Fedora 13 (

ciao303 08-09-2010 11:53 PM

sudoer list: Fedora 13
ok how do I include my username in the sudoers list?

hilyard 08-10-2010 12:03 AM

Gotta use visudo as root.

bret381 08-10-2010 12:06 AM

root password


under #User Priveledge Specification
you should see:
root ALL=(ALL) ALL


username ALL=(ALL) ALL

and save

ciao303 08-11-2010 03:56 AM

gives me this scenario:

carloslopez@CarlosLopez:~$ su
su: Authentication failure
carloslopez@CarlosLopez:~$ su
su: Authentication failure

I tried do I get past this authentication hurdle?

alli_yas 08-11-2010 04:06 AM



$ su
The above command is switch user which when entered with no username will default you to switching to root. Thus if you enter the above and enter the root password you will be switched to root.

This does not relate to sudoers. Adding your username to /etc/sudoers will allow you to run super user commands via the sudo command.

Thus for example when logged as an ordinary user; you can use sudo to edit the /etc/fstab file which belongs to root.

Say for example you're logged in as john you can thereafter do the following:


john@mycomputer$ sudo vi /etc/fstab
[sudo] password for john:

You enter your password for the john user, and you can now edit the file with super user priveleges; provided that john is in the sudoers file.

All times are GMT -5. The time now is 05:48 PM.