[Logcheck-commits] CVS logcheck/src

CVS User maks-guest logcheck-devel@lists.alioth.debian.org
Mon, 11 Jul 2005 11:51:18 +0000


Update of /cvsroot/logcheck/logcheck/src
In directory haydn:/tmp/cvs-serv7287/src

Modified Files:
	logcheck 
Log Message:

the su syntax is sooo awkward,
also mention the sudo invocation - much shorter.


--- /cvsroot/logcheck/logcheck/src/logcheck	2005/06/23 08:14:20	1.118
+++ /cvsroot/logcheck/logcheck/src/logcheck	2005/07/11 11:51:18	1.119
@@ -22,11 +22,12 @@
 # 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.118 2005/06/23 08:14:20 maks-guest Exp $
+# $Id: logcheck,v 1.119 2005/07/11 11:51:18 maks-guest Exp $
 
 if [ $UID == 0 ]; then
     echo "logcheck should not be run as root. Use su to invoke logcheck:"
     echo "su -s /bin/bash -c \"/usr/sbin/logcheck [options]\" logcheck"
+    echo "Or use sudo: sudo -u logcheck logcheck [options]."
     # you may want to uncomment that hack to let logcheck invoke itself.
     # su -s /bin/bash -c  "$0 $*" logcheck
     exit 1