从命令行获取Kerberos服务票证


11

我正在调试Kerberos设置。我有一个有效的人krb5.conf,可以打电话kinit USERNAME获取票证授予票证(TGT):

Credentials cache: /root/krb5cc_root
Default principal: USERNAME@EXAMPLE.COM
Number of entries: 1

[1] Service principal: krbtgt/EXAMPLE.COM@EXAMPLE.COM
        Valid starting: Wednesday, June 4, 2014 at 10:02:29 PM
        Expires: Thursday, June 5, 2014 at 8:02:29 AM

我想使用该TGT 在命令行上请求Kerberos 服务票证,因此可以使用klist进行查看。这将有助于调试我要解决的Kerberos问题。

是否有命令或程序可检索给定服务的Kerberos服务票证?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.