[Wylug-discuss] Sudo

Smylers Smylers at stripey.com
Mon Apr 14 23:26:46 BST 2008


Anne Wilson writes:

> On Monday 14 April 2008 08:35:47 Smylers wrote:
> 
> > So Anne, if you want to make sudo prompt for the root password
> > instead of your own then please use runaspw without being concerned
> > about it doing anything with groups.  Cheers.
> 
> Just to make things clear.  The current line is
> 
> user=(ALL) NOPASSWD:ALL
> 
> If I add 'Defaults runaspw' what do I do about the existing line?

Get rid of the NOPASSWD: (because with that there it won't prompt for
any password), regardless of whether you're using runaspw.

Smylers



More information about the Wylug-discuss mailing list