sudo/sudoers

Mon, 28 Jan 2013 17:37:18 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 28 Jan 2013 17:37:18 +0100
changeset 758
a2c6460cfb16
permissions
-rw-r--r--

Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.

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