I have my Linux machine connected to AD but I am unable to get sudo privileges. I can sign on using AD credentials, but sudo doesn't work.
I have looked at everything I can find and everyone says to add the following to the sudoers file:
%MYDOMAIN\mygroup ALL=(ALL)ALL
When I do this and try to sudo it responds:
myusername is not in the suoders file. This incident will be reported.
Might the problem be that the AD domain/group is not listed in the group or passwd file? If so, how can I add it?
Best Answer
https://unix.stackexchange.com/questions/150476/allow-ad-groups-to-sudo may help: