Allow sudo on specific file from active directory group
- by tubaguy50035
I have an Ubuntu Server 12.04 box that has active directory integration running on it. I want to allow a certain active directory group access to execute a script as sudo. I want to do something like this:
%programmers ALL=NOPASSWD: /usr/local/bin/createSambaShare.php
When I log in with my active directory user and issue groups I do not see the group programmers, but I am a part of the programmers group within active directory. I've set up the group under the Unix attributes tab and given it an id of 1000 and added my user to it.
My first thought was that I needed to add the group to the Ubuntu box. When I tried to do that, it told me that the programmers group already existed.
What am I missing here?