File: gss_destroy_creds

package info (click to toggle)
nfs-utils 1%3A1.0.10-6%2Betch.1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 4,232 kB
  • ctags: 2,554
  • sloc: ansic: 24,691; sh: 9,398; makefile: 667
file content (11 lines) | stat: -rw-r--r-- 217 bytes parent folder | download | duplicates (7)
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 '{}' $* ';'