Allow sudo on specific file from active directory group
Posted
by
tubaguy50035
on Ask Ubuntu
See other posts from Ask Ubuntu
or by tubaguy50035
Published on 2012-10-11T19:38:01Z
Indexed on
2012/10/11
21:48 UTC
Read the original article
Hit count: 325
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?
© Ask Ubuntu or respective owner