📄 klist.8krb
字号:
.TH klist 8krb.SH Nameklist \- lists currently held Kerberos tickets.SH Syntax.B /usr/bin/klist[\fB\\-s | \-t\fR] [.B \-file[\fIfilename\fP]] [.B \-srvtab].SH Arguments.TP 12.I filenameThe name of the Kerberos ticket file..SH Description.NXR "Kerberos routines" "klist"The.PN klistcommand allows you to print the name of the ticket file, the identityof the principal requesting the tickets (as listed in the ticketfile), and the principal names of all the Kerberos tickets currentlyheld by the user (along with the issue and expiration times for eachauthenticator). Principal names are listed in the form:.EXname.instance@realm.EEThe period (.) is omitted if the instance is null, and the at sign (@)is omitted if the realm is null..PPThe.PN klistcommand also enables you to print the entries in the.PN srvtabfile. If the \fB-srvtab\fP option is selected, .PN klistwillprint the service name, instance name, realm name, and key version of allservices listed in the.PN srvtabfile..SH Options.TP 7.B \-sSuppresses the printing of the issue and expiration times, the name of theticket file, or the identity of the principal..TP.B \-tChecks for the existence of an unexpired ticket-granting-ticket in theticket file. If one is present, .PN klist exits with status of zero (0). Otherwise, it exits with status 1. No output isgenerated when this option is specified. .TP.B \-fileCauses the following argument to be used as the ticket file.Otherwise, .ig ++if the.PN KRBTKFILEenvironment variable is set, that variable is used instead. If thisenvironment variable is set, .++the file .PN /var/dss/kerberos/tkt/tkt[\fIuid\fP]\fRis used, where .PN uid is the user ID of the.PN klistprocess.\fP.TP.B \-srvtabIndicates that .PN srvtabdata should be printed. If the \fB-file\fP switch is not used, the.PN srvtabdata is read from the default.PN srvtabfile,.PN /etc/srvtab ..SH RestrictionsUser-level authentication is not supported. However, by naming thefile.PN tkt.loginwith the .PN \-fileoption, you can look at the tickets generated by.PN login ..SH Files.TP 17 .PN /etc/srvtabDefault.PN srvtabfile.TP.PN /etc/krb.conf To get the name of the local realm.TP.PN /var/dss/kerberos/tkt/tkt\[\fIuid\fP] The default ticket file.TP.PN /var/dss/kerberos/tkt/tkt.loginThe file containing tickets generated by.PN \&.login.SH See Alsokinit(8krb), kdestroy(8krb)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -