[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#697490: Passwordless sudo without modifying /etc/sudoers ?



Guido Trotter wrote:
> Note that debian's default sudo (at least in wheezy, I haven't checked
> squeeze now) includes files /etc/suders.d/
> So dropping a file with the additional line you need there is a way to
> add sudo rules without modifying /etc/sudoers.

Yes.  I do exactly that.  But note that order matters.  The last entry
has highest priority.  Therefore name the file such that it will sort
later than any other entry.  I use /etc/sudoers.d/zz-local-sudoers
with a "zz" prefix.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: