sudo/sudoers

Tue, 02 Apr 2013 20:44:50 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 02 Apr 2013 20:44:50 +0200
changeset 767
3ee660c5bc4f
permissions
-rw-r--r--

Correct initial database generation and improve runcommand script logic.

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