summaryrefslogtreecommitdiffstats
path: root/rules/sudo.in
blob: 9aa31c80c415954be6bf46c03e51456a354eefa2 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
menuconfig SUDO
	tristate
	prompt "sudo                          "
	help
	  Sudo is a program designed to allow a sysadmin
	  to give limited root privileges to users and log
	  root activity.  The basic philosophy is to give
 	  as few privileges as possible but still allow
	  people to get their work done.

if SUDO

config SUDO_USE_SENDMAIL
	bool "Use sendmail"
	default n

config SUDO_USE_PAM
	bool "Use libpam"
	default n

config SUDO_ETC_SUDOERS
	bool "Install sudoers file into /etc"
	default y
	help
	  Installs /etc/sudoers from a selectable source

	choice
		prompt "Kind of sudoers"
		default SUDO_ETC_SUDOERS_DEFAULT
		depends on SUDO_ETC_SUDOERS

		config SUDO_ETC_SUDOERS_DEFAULT
			bool
			prompt "Use generic"
			help
			  Installs a generic /etc/sudoers file from the
			  sources.

		config SUDO_ETC_SUDOERS_USER
			bool
			prompt "User defined"
			help
			  This uses a user defined /etc/sudoers file. PTXdist
			  uses file projectroot/etc/sudoers in your local project.

	endchoice


endif