sudo/sudoers

Wed, 08 Aug 2012 20:15:17 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 08 Aug 2012 20:15:17 +0200
changeset 487
76a25ceeb6bf
permissions
-rw-r--r--

Update to new vendor version, modernize packaging, and accommodate new RPM reqs.
This means append '%dir %{l_prefix}/web' to %files, although it might be better
to simply append '%{l_prefix}/web' intead, needs more fine testing.

michael@456 1 ##
michael@456 2 ## sudoers -- global sudoers(5) specification
michael@456 3 ## Hint: general structure is "who where = (as_whom) what"
michael@456 4 ##
michael@456 5
michael@456 6 #includedir @l_prefix@/etc/sudo/sudoers.d
michael@456 7
michael@456 8 # - allow root (first entry) and
michael@456 9 # - anybody in group "wheel" (second entry)
michael@456 10 # - to run on all hosts
michael@456 11 # - under any user
michael@456 12 # - without password request
michael@456 13 # - with set environment variables
michael@456 14 # - any command
michael@456 15 root ALL = (ALL) NOPASSWD: SETENV: ALL
michael@456 16 %wheel ALL = (ALL) NOPASSWD: SETENV: ALL
michael@456 17

mercurial