exit 1
}
-while getopts "i:r:u:h:" opt; do
+while getopts "i:r:u:h:a" opt; do
case $opt in
i)
userpart=$OPTARG
u)
localuser=$OPTARG
;;
+ a)
+ aklog=1
+ ;;
h)
usage
;;
PRINC=$KRBUSER$userpart_slash$REALMARG
+EXTRAOPTS=""
+if [ -n "$aklog" ]; then
+ EXTRAOPTS="-t"
+fi
+
export KRB5CCNAME=/tmp/krb5cc_${UID}_${KRBUSER}_${userpart}
-k5start -H 30 -u "$PRINC"
+k5start -H 30 -u "$PRINC" $EXTRAOPTS
#if klist -s -c $ccache; then
# export KRB5CCNAME=$ccache
+mh-sysadmin-tools (1.3) unstable; urgency=low
+
+ * with-creds: support the '-a' option
+
+ -- Michael Howe <michael@michaelhowe.org> Mon, 28 Jan 2013 13:39:24 +0000
+
mh-sysadmin-tools (1.2) unstable; urgency=low
* with-creds now supports specification of user and realm