1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 18:33:45 +01:00

hardcoded path removed from check_kerb.sh

This commit is contained in:
root 2012-02-01 11:11:47 +00:00
parent 0143aa55fe
commit 61aea770de

View File

@ -24,7 +24,7 @@ if [ -z $KRBPASS ]; then
exit 3 exit 3
fi fi
OUT=`echo $KRBPASS | /usr/kerberos/bin/kinit "$KRBUSER" 2>&1` OUT=`echo $KRBPASS | kinit "$KRBUSER" 2>&1`
if [ $? -gt 0 ]; then if [ $? -gt 0 ]; then
echo "Unable to initiate kerberos session: $OUT" echo "Unable to initiate kerberos session: $OUT"
exit 2 exit 2