sudo/sudoers

Mon, 25 Aug 2014 19:07:19 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 25 Aug 2014 19:07:19 +0200
changeset 796
02101011a9bc
permissions
-rw-r--r--

Correct process identification writing of PID file on -P parameter.

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