summaryrefslogtreecommitdiffstats
path: root/rules/sudo.in
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2007-10-01 18:50:57 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2007-10-01 18:50:57 +0000
commit9f1cae2be51417bfb92ab0bb58b53889636f72cf (patch)
treedd2774db85ede0a7afcae5f896bde5c97b6fb1a7 /rules/sudo.in
parentdee89e1fb94f9901f30b31cecdc7ba8e5f913e58 (diff)
downloadptxdist-9f1cae2be51417bfb92ab0bb58b53889636f72cf.tar.gz
ptxdist-9f1cae2be51417bfb92ab0bb58b53889636f72cf.tar.xz
* ntp: update NTP package to version 4.2.4p3. Adds options for
rc.d links for the server and ntpdc plus configurations. Some missing /var directories for statistics files have also been added. Patch by Carsten Schlote. git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7331 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/sudo.in')
-rw-r--r--rules/sudo.in36
1 files changed, 34 insertions, 2 deletions
diff --git a/rules/sudo.in b/rules/sudo.in
index 33df390bd..daecd83b7 100644
--- a/rules/sudo.in
+++ b/rules/sudo.in
@@ -1,7 +1,6 @@
config SUDO
bool
- depends on BROKEN
- prompt "sudo [BROKEN]"
+ prompt "sudo"
help
Sudo is a program designed to allow a sysadmin
to give limited root privileges to users and log
@@ -9,3 +8,36 @@ config SUDO
as few privileges as possible but still allow
people to get their work done.
+config SUDO_DONT_SEND_MAILS
+ bool "don't send mails"
+ depends on SUDO
+ default y
+
+config SUDO_ETC_SUDOERS
+ bool "Install sudoers file into /etc"
+ depends on SUDO
+ 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
+