You are not logged in.
I'm having a weird issue since updating my system today. My username has been added to the wheel group and my sudoers file seems correct, although I'm getting the "not in sudoers file" message. Any ideas?
/etc/sudoers
%wheel ALL=(ALL) ALL
At the prompt:
[harlequin@harchlp ~]$ groups harlequin
wheel harlequin
[harlequin@harchlp ~]$ sudo ntpd -qg
[sudo] password for harlequin:
harlequin is not in the sudoers file. This incident will be reported.
-- C. M.
Last edited by C. M. Harlequin (2014-06-07 18:48:09)
διπλοῦν ὁρῶσιν οἱ μαθόντες γράμματα.
Offline
Sudoers config read from top to bottom. So if there's anything below the wheel entry that removes or negates the groups permission, the last entry will overwrite the previous. (Hope that makes sense)
Just a guess?
Offline
Don't believe it was either of those things; there was nothing uncommented below the definition in the sudoers file, and I logged out (even rebooted) with no success.
Now it's working as it should, but I have no idea what I did to fix it. I'll mark this solved, but I don't know how.
Thanks.
διπλοῦν ὁρῶσιν οἱ μαθόντες γράμματα.
Offline
IT-support rule number one: If it suddenly works, don't question why, just accept that it works :-)
Offline