diff -urN /etc/rc.d/init.d/ipsec.orig /etc/rc.d/init.d/ipsec --- /etc/rc.d/init.d/ipsec.orig 2007-07-10 12:27:41.000000000 +1000 +++ /etc/rc.d/init.d/ipsec 2007-07-10 12:33:55.000000000 +1000 @@ -118,7 +118,7 @@ # do it case "$1" in start|--start|stop|--stop|_autostop|_autostart) - if [ "x${USER}" != "xroot" ] + if test " `id -u`" != " 0" then echo "permission denied (must be superuser)" | logger -s -p $IPSECsyslog -t ipsec_setup 2>&1