File: sudo

package info (click to toggle)
fvwm-crystal 3.4.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 21,700 kB
  • ctags: 1,494
  • sloc: sh: 3,265; cs: 1,335; python: 875; makefile: 214
file content (25 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# /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.
#

# Changing the default settings
Defaults	!root_sudo
Defaults	timestamp_timeout=3

# Host alias specification

# User alias specification
User_Alias	USERS = username1, username2

# Cmnd alias specification
Cmnd_Alias	SHUTDOWN = /sbin/shutdown, /sbin/halt, /sbin/reboot
Cmnd_Alias	APT = /usr/bin/aptitude

# User privilege specification
root	ALL=(ALL) ALL
USERS	ALL = APT
USERS	ALL = NOPASSWD: SHUTDOWN