diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-08-26 23:13:00 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-08-26 23:13:00 +0000 |
commit | e0b545d3a872bbdee0dfe1c4c2f00b423d42ffcc (patch) | |
tree | 24c9479dab9bc019f716093628a70e392b3c40cb /miscutils | |
parent | 175c0aff4894286d9e42a7d9df63591c3b13d183 (diff) | |
download | busybox-w32-e0b545d3a872bbdee0dfe1c4c2f00b423d42ffcc.tar.gz busybox-w32-e0b545d3a872bbdee0dfe1c4c2f00b423d42ffcc.tar.bz2 busybox-w32-e0b545d3a872bbdee0dfe1c4c2f00b423d42ffcc.zip |
Improve the setuid situation a bit, and make it more apparent
when people really ought to make busybox setuid root.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@9170 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/Config.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/miscutils/Config.in b/miscutils/Config.in index 3c92c4674..77e13e84e 100644 --- a/miscutils/Config.in +++ b/miscutils/Config.in | |||
@@ -15,6 +15,7 @@ config CONFIG_ADJTIMEX | |||
15 | config CONFIG_CROND | 15 | config CONFIG_CROND |
16 | bool "crond" | 16 | bool "crond" |
17 | default n | 17 | default n |
18 | select CONFIG_FEATURE_SUID | ||
18 | help | 19 | help |
19 | Crond is a background daemon that parses individual crontab | 20 | Crond is a background daemon that parses individual crontab |
20 | files and executes commands on behalf of the users in question. | 21 | files and executes commands on behalf of the users in question. |
@@ -23,6 +24,8 @@ config CONFIG_CROND | |||
23 | $ cat /var/spool/cron/crontabs/root | 24 | $ cat /var/spool/cron/crontabs/root |
24 | # Run daily cron jobs at 4:40 every day: | 25 | # Run daily cron jobs at 4:40 every day: |
25 | 40 4 * * * /etc/cron/daily > /dev/null 2>&1 | 26 | 40 4 * * * /etc/cron/daily > /dev/null 2>&1 |
27 | Note that Busybox binary must be setuid root for this applet to | ||
28 | work properly. | ||
26 | 29 | ||
27 | config CONFIG_FEATURE_CROND_CALL_SENDMAIL | 30 | config CONFIG_FEATURE_CROND_CALL_SENDMAIL |
28 | bool " Using /usr/sbin/sendmail?" | 31 | bool " Using /usr/sbin/sendmail?" |