[Spce-user] Suggestion: install sudoers config in /etc/sudoers.d

Thilo Bangert thilo.bangert at gmail.com
Thu May 10 11:41:58 EDT 2012


On Thursday, May 10, 2012 05:41:30 PM Andreas Granig wrote:
> Hi Thilo,
> 
> On 05/10/2012 05:21 PM, Thilo Bangert wrote:
> > the create_jail script modifies the /etc/sudoers file in order for the
> > chroot jail for the cdr user to work. recent versions of sudo, including
> > the one in debian squeeze support the /etc/sudoers.d/ dir to allow
> > extending the current sudoers configuration without needing to change a
> > system dependant /etc/sudoers file.
> > 
> > It would be nice, if the create_jail script used by the ngcp-installer
> > could be changed to write the sudo config into a file in /etc/sudoers.d/
> > instead /etc/sudoers.
> 
> This is something we didn't consider so far, we'll have a look at that.

maybe the untested attached patch will serve as inspiration. ;-)

> 
> Thanks,
> Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: create_jail-use-sudoers.d.patch
Type: text/x-patch
Size: 767 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20120510/17c3437a/attachment-0001.patch>


More information about the Spce-user mailing list