freebsd-dev/crypto/kerberosIV/appl/kauth/ksrvtgt.in
Mark Murray 03656ac1b0 Initial import of KTH eBones. This has been cleaned up to only include
the "core" Kerberos functionality. The rest of the userland will get their
own changes later.
1997-09-04 06:04:33 +00:00

15 lines
290 B
Bash

#! /bin/sh
# $Id: ksrvtgt.in,v 1.2 1997/04/05 21:29:17 assar Exp $
usage="Usage: `basename $0` name instance [[realm] srvtab]"
if [ $# -lt 2 -o $# -gt 4 ]; then
echo "$usage"
exit 1
fi
srvtab="${4-${3-/etc/srvtab}}"
realm="${4+@$3}"
%bindir%/kauth -n "$1.$2$realm" -l 5 -f "$srvtab "