aboutsummaryrefslogtreecommitdiff
path: root/system/sudoers
blob: bb24b9f6077e969427830d3b15e640350faa3b72 (plain)
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
26
27
28
29
30
31
32
## sudoers file.
##
## This file MUST be edited with the 'visudo' command as root.
## Failure to use 'visudo' may result in syntax or file permission errors
## that prevent sudo from running.
##
## See the sudoers man page for the details on how to write a sudoers file.
##

Defaults passwd_timeout=0
Defaults timestamp_timeout=15

##
## User privilege specification
##
root ALL=(ALL) ALL

## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL) ALL

## Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL

## Run some commands without a password
%wheel ALL=(ALL) NOPASSWD: /usr/bin/pacman -Sy
%wheel ALL=(ALL) NOPASSWD: /usr/bin/pacman -Syuw
%wheel ALL=(ALL) NOPASSWD: /usr/bin/pacman -Syuw --noconfirm
%wheel ALL=(ALL) NOPASSWD: /usr/bin/pacman -Syyuw --noconfirm

## Read drop-in files from /etc/sudoers.d
## (the '#' here does not indicate a comment)
#includedir /etc/sudoers.d