root@server:~# apt install krb5-kdc krb5-admin-server
server# cat /etc/krb5.conf
[libdefaults] default_realm = CORPX.UN
root@server:~# krb5_newrealm
... Enter KDC database master key: sdfsd787sg8df7gsd Re-enter KDC database master key to verify: sdfsd787sg8df7gsd
root@server:~# ls -l /var/lib/krb5kdc/
root@server:~# service krb5-kdc restart
server# tail -f /var/log/auth.log
# apt install krb5-user
# cat /etc/krb5.conf
[libdefaults] default_realm = CORPX.UN
# kinit user1 # klist # kdestroy
[server:~] # cat /etc/rc.conf
... kdc_enable="YES" # FreeBSD10 ...
server# kstash
Master key: sdfsd787sg8df7gsd
server# kadmin -l
kadmin> init CORPX.UN Realm max ticket life [unlimited]: Realm max renewable ticket life [unlimited]: kadmin> quit
[server:~] # service kdc start
server# tail -f /var/heimdal/kdc.log