Playground I
This lesson provides hands-on practice with MIT Kerberos.
Set up
We’ll set up MIT Kerberos on Ubuntu running in a docker container and then see how the theory we have covered so far looks in practice. Fire-up the terminal and then enter the commands shown in the widget below.
Along the way, we’ll discuss the various components of the system and their use. As you execute the various commands, you should be able to relate and connect the concepts we have discussed in theory.
Note that in this set-up, the KDC, Admin Server, and the client are all running on the same machine/VM. As a quick check, you can execute the following command and look for the KDC process:
ps -aef
The process named krb5kdc is the Kerberos V5 Authentication Service and Key Distribution Center (AS/KDC).
krb5.conf
First, we’ll examine the configuration file that consists of several defaults.
cat /etc/krb5.conf
The krb5.conf file contains Kerberos configuration information, including the locations of KDCs and admin servers for the Kerberos realms of interest, defaults for the current realm and for Kerberos applications, and mappings of hostnames onto ...