kerberosTest/sample/kinit_server.sh

10 lines
224 B
Bash
Raw Normal View History

#!/usr/bin/env bash
#
export KRB5CCNAME=/tmp/krb5_server_1000
export KRB5_CONFIG="/home/zeekling/project/gitea/kerberosTest/sample/krb5.conf"
kinit -kt ./hadoop.keytab server/hadoop.test.hadoop.com@TEST.HADOOP.COM
klist