[augeas-devel] Re: [Sudoers] Sudoers lens: first demo from scratch
David Lutterkort
dlutter at redhat.com
Wed Aug 13 17:32:41 UTC 2008
On Wed, 2008-08-13 at 10:07 +0200, Raphaël Pinson wrote:
> A bit of a nicer example:
> augtool> set /files/etc/sudoers/Defaults/parameter 'env_keep+="APT_CONFIG DEBIAN_FRONTEND SHELL"'
Seems like you figured quoting out by yourself ;)
> $ cat fakeroot/etc/sudoers
> # This is a sudoers file
> Host_Alias LOCALNET = 127.0.0.1 , localhost : MONREZO = 10.1.2.3
> Cmnd_Alias PBUILDER = /usr/sbin/pbuilder , /usr/local/bin/build-repository
> Defaults:buildd env_keep+="APT_CONFIG DEBIAN_FRONTEND SHELL"
> # User specs
> root ALL = (ALL) ALL
> %pbuilder ALL = NOPASSWD : PBUILDER
> bb ALL = NOPASSWD : /usr/local/bb/ext/bb-mail.sh
This is simply amazing .. I am very impressed.
David
More information about the augeas-devel
mailing list