File: gss_destroy_creds

package info (click to toggle)
nfs-utils 1%3A1.2.8-9
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 14,520 kB
  • ctags: 4,124
  • sloc: ansic: 36,748; sh: 12,042; python: 1,002; makefile: 724
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 '{}' $* ';'