kerberosTest/sample/kinit_client.sh
2023-10-06 10:31:49 +08:00

10 lines
178 B
Bash
Executable File

#!/usr/bin/env bash
#
export KRB5CCNAME=/tmp/krb5cc_cli_1000
export KRB5_CONFIG="/home/zeekling/project/gitea/kerberosTest/sample/krb5.conf"
kinit -kt ./cli.keytab cli
klist