diff --git a/krb5.csh b/krb5.csh index 1985c32..ed5e7c6 100755 --- a/krb5.csh +++ b/krb5.csh @@ -2,7 +2,5 @@ if ( "${path}" !~ */usr/kerberos/bin* ) then set path = ( /usr/kerberos/bin $path ) endif if ( "${path}" !~ */usr/kerberos/sbin* ) then - if ( `id -u` == 0 ) then - set path = ( /usr/kerberos/sbin $path ) - endif + set path = ( /usr/kerberos/sbin $path ) endif diff --git a/krb5.sh b/krb5.sh index b5c9e5c..760c0b3 100755 --- a/krb5.sh +++ b/krb5.sh @@ -2,7 +2,5 @@ if ! echo ${PATH} | /bin/grep -q /usr/kerberos/bin ; then PATH=/usr/kerberos/bin:${PATH} fi if ! echo ${PATH} | /bin/grep -q /usr/kerberos/sbin ; then - if [ `/usr/bin/id -u` = 0 ] ; then - PATH=/usr/kerberos/sbin:${PATH} - fi + PATH=/usr/kerberos/sbin:${PATH} fi