[Logcheck-commits] CVS logcheck/src
CVS User maks-guest
logcheck-devel@lists.alioth.debian.org
Fri, 27 Aug 2004 09:50:12 -0600
Update of /cvsroot/logcheck/logcheck/src
In directory haydn:/tmp/cvs-serv15030/src
Modified Files:
logcheck
Log Message:
su is essential, therefor better su than sudo hint thx to Alfie.
--- /cvsroot/logcheck/logcheck/src/logcheck 2004/08/14 17:36:36 1.74
+++ /cvsroot/logcheck/logcheck/src/logcheck 2004/08/27 15:50:12 1.75
@@ -22,11 +22,11 @@
# along with Logcheck; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-# $Id: logcheck,v 1.74 2004/08/14 17:36:36 ttroxell Exp $
+# $Id: logcheck,v 1.75 2004/08/27 15:50:12 maks-guest Exp $
if [ $UID == 0 ]; then
- echo "logcheck should not be run as root."
- echo "Use sudo to invoke logcheck: sudo -u logcheck logcheck [options]."
+ echo "logcheck should not be run as root. Use su to invoke logcheck:"
+ echo "su -s /bin/bash -c \"/usr/sbin/logcheck [options]\" logcheck"
exit 1
fi