From: Thibault Godouet Date: Tue, 27 Aug 2013 16:48:55 +0000 (+0100) Subject: Error if the users tries to use root as the fcron user. X-Git-Tag: ver3_1_3~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbca892398359709320817eda6f752daf50068fb;p=thirdparty%2Ffcron.git Error if the users tries to use root as the fcron user. --- diff --git a/configure.in b/configure.in index da6d8e3..dd9bc94 100644 --- a/configure.in +++ b/configure.in @@ -612,10 +612,10 @@ AC_ARG_WITH(username, username="$withval"; AC_MSG_RESULT($username) if test "$withval" = "$rootname" && test "$RUN_NON_PRIVILEGED" != "1"; then - AC_MSG_WARN([ + AC_MSG_ERROR([ -Beware that running fcrontab setuid root is not very secure. You should use -another user name if possible. +Running fcrontab setuid root is NOT secure and would completely break +the security model of fcron. You must use a different user name. ]) has_euid=0 fi