diff options
| author | Eric Andersen <andersen@codepoet.org> | 2004-08-26 23:13:00 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2004-08-26 23:13:00 +0000 |
| commit | 138791050d36d221d718568094892245d7c6f6ec (patch) | |
| tree | 24c9479dab9bc019f716093628a70e392b3c40cb /miscutils | |
| parent | 37ba6bfb6d7ff7287ecda14bb4906fa6de1e78c9 (diff) | |
| download | busybox-w32-138791050d36d221d718568094892245d7c6f6ec.tar.gz busybox-w32-138791050d36d221d718568094892245d7c6f6ec.tar.bz2 busybox-w32-138791050d36d221d718568094892245d7c6f6ec.zip | |
Improve the setuid situation a bit, and make it more apparent
when people really ought to make busybox setuid root.
-Erik
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?" |
