sudo/sudoers

Mon, 01 Jul 2013 22:00:33 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 01 Jul 2013 22:00:33 +0200
changeset 777
4e2fe5febd48
permissions
-rw-r--r--

Correct use of nonportable u_int types and update to new vendor version.

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