using sudo

Richard Shaw hobbes1069 at gmail.com
Mon May 24 20:48:22 UTC 2010


On Mon, May 24, 2010 at 3:11 PM, terry <xtlynne at charter.net> wrote:
> I've looked  through the systems > administation but cannot figure how
> to put myself in the file where I can use  say sudo yum something
> without having to use su ,  passwd each time I need to be root
> thank you.

I assume that you would like it where the sudo does not require a
password either? In that case su into a root terminal login and type
"visudo". Twards the bottom of the file there is a line that is
commented out that allows all users of the "wheel" group to access all
commands without a password. Uncomment the line and save the file,
i.e. ":wq". Use the GUI User and Groups control panel to add yourself
to the "wheel" group and logout and back in. If you did everything
correctly then you should be able to "sudo <command>" anything and it
should work without prompting for a password.

Richard


More information about the users mailing list