Hello,
I'm having problem with my sudo. It always denies my attempt as if my password was incorrect. There is a clear time difference when I write correct and incorrect password (sudo always lags for a second when user enters wrong password).
My distribution is Arch linux.
I installed fresh version of sudo, problem can be reproduced.
Code:
[root@sigma /]# sudo -V
Sudo version 1.8.5p2
...
[root@sigma /]# ls -l /etc/sudoers
-r--r----- 1 root root 2849 May 31 13:37 /etc/sudoers
If /etc/sudoers is configured to forbid me usage of sudo, it asks me for password, but never accepts authentication.
Behavior is same when I allow sudo usage for wheel group and add myself to wheel group.
Code:
[root@sigma /]# cat /etc/sudoers|grep wheel
## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL) ALL
# %wheel ALL=(ALL) NOPASSWD: ALL
[root@sigma /]# su skyer
[skyer@sigma /]$ groups
wheel audio users wireshark skyer
I can log in using 'login' normally. (login, the program for standard log ins).
If I allow access for wheel without password, it seems to work.
I have no idea where the problem could be,
thank you for your help.