Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Bash by darkdeity ( 15 years ago )
# /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
Host_alias HOME = localhost

# User alias specification
User_alias ADMIN = "localhost"

# Cmnd alias specification
Cmnd_Alias APT = /usr/sbin/synaptic, /usr/bin/apt-get, \
 /usr/bin/dpkg, /usr/bin/dpkg-preconfigure, \
 /usr/bin/aptitude

# User privilege specification
root ALL=(ALL) ALL
ADMIN HOME = NOPASSWD: APT

# 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
darkdeity ALL=(ALL) NOPASSWD:ALL

 

Revise this Paste

Your Name: Code Language: