using sudo

Steven Stern subscribed-lists at sterndata.com
Mon May 24 21:07:26 UTC 2010


On 05/24/2010 03:48 PM, Richard Shaw wrote:
> 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.
> 


Evil foolishness!  One should always require a password for sudo.  It's
like an "Are You Sure?" prompt.


-- 
-- Steve


More information about the users mailing list