aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/sudoers
blob: c6c6c17dc90bfef678d04cd28606fecc874fd6d4 (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
# Sample sudoers file for Linux Test Project.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#

# Host alias specification

# User alias specification
# List the users allowed to run the LTP tests requiring root
User_Alias	LTPUSERS = puw, nstraz, jgarzik


# Cmnd alias specification

# List the tests requiring root, LTPROOT must be replaced with the full
# path to your ltp installation. Producing something like:
#   /usr/local/ltp/tests/mknod01, \
#   ...
Cmnd_Alias	LTPTESTS = LTPROOT/tests/mknod01, \
			   LTPROOT/tests/setgroups01, \
			   LTPROOT/tests/setuid02, \
			   LTPROOT/tests/unlink08

# User privilege specification
root		ALL=(ALL) ALL
LTPUSERS	ALL = NOPASSWD: LTPTESTS