summaryrefslogtreecommitdiffstats
path: root/utils/gssd/gss_destroy_creds
blob: 1f978d1b3c1ffbf515c0c938fb3ea6daee465204 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

path=`mount|grep rpc_pipefs|awk '{ print $3;exit }'`

if [ -z "$path" ]; then
	echo "unable to find rpc_pipefs; is it mounted?"
	exit 1
fi;

find "$path" -name 'krb5' -exec gss_clnt_send_err '{}' $* ';'