]> granicus.if.org Git - fcron/commitdiff
Error if the users tries to use root as the fcron user.
authorThibault Godouet <fcron@free.fr>
Tue, 27 Aug 2013 16:48:55 +0000 (17:48 +0100)
committerThibault Godouet <fcron@free.fr>
Tue, 27 Aug 2013 16:48:55 +0000 (17:48 +0100)
configure.in

index da6d8e34513be3647efac04e9735f570b792dfca..dd9bc94a65e34d5356585d5486bb1fce111b312f 100644 (file)
@@ -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