You are not logged in.
I have two different computers running arch.
On one when I sudo I have to enter a password.
On the other when I sudo I don't have to enter the password.
Can anyone explain what I did that has produced this different behavior?
I'm guessing it has to do with either visudo or wheel when I set up the user.
Thanks in advance.
Offline
Just compare the /etc/sudoers files between the two computers.
Offline
I'm guessing it has to do with either visudo or wheel when I set up the user.
This.
Are the /etc/sudoers files identical?
Offline
Presumably on one computer you have one of these lines uncommented and the other uncommented on the second.
In /etc/sudoers:
## Uncomment to allow members of group wheel to execute any command
# %wheel ALL=(ALL) ALL
## Same thing without a password
%wheel ALL=(ALL) NOPASSWD: ALL
Offline
Thanks! that was it all right.
Offline