Page 1 of 1

sudo

Posted: 30. Jul 2014, 16:48
by macondo
I did a visudo and uncommented this line:

Code: Select all

## Same thing without a password
 %wheel ALL=(ALL) NOPASSWD: ALL
But it still keeps asking for my password... any suggestions?

Re: sudo

Posted: 30. Jul 2014, 22:59
by laprjns
In order to give a user sudo privileges all you need to do is to add the users to the wheel group. I suggest that you reinstate the line as being commented out and add the user to the wheel group.

Re: sudo

Posted: 31. Jul 2014, 08:32
by gapan
macondo wrote:But it still keeps asking for my password... any suggestions?
Read the wiki page you used more carefully: http://docs.salixos.org/wiki/How_to_ena ... _root_user