[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sudoers tty defaults (Re: Changing Users in a script)



On Mon, 15 Aug 2011 17:33:58 -0400, Tom H wrote:

> "sudo -L" lists the full list of "Defaults". I'd be very surprised if
> even one of these isn't set.

Then prepare for a surprise. Vanilla /etc/sudoers in Squeeze:

# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults	env_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root	ALL=(ALL) ALL

# Allow members of group sudo to execute any command
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
#
#includedir /etc/sudoers.d



Reply to: