
Chapter 5. Sample implementation scenarios 139
This verifies that a ticket has been granted to the admin principal:
klist
Example 5-24 shows the output of the above mentioned commands.
Example 5-24 Basic verification of KDC server
# ps -ef |grep krb |grep -v grep
root 299160 1 0 18:20:51 - 0:00 /usr/krb5/sbin/krb5kdc
root 315554 1 0 18:20:51 - 0:00 /usr/krb5/sbin/kadmind
#
# kinit admin/admin@REALM2.IBM.COM
Password for admin/admin@REALM2.IBM.COM:
#
# klist
Ticket cache: FILE:/var/krb5/security/creds/krb5cc_0
Default principal: admin/admin@REALM2.IBM.COM
Valid starting Expires Service principal
07/28/04 14:16:18 07/29/04 14:16:15 krbtgt/REAL ...