sudo

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
macondo
Posts: 90
Joined: 16. Jun 2011, 02:08

sudo

Post 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?
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: sudo

Post 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.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: sudo

Post 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
Image
Image
Post Reply