# 1. Modify Realmvim /etc/krb5.conf
# 2. Sync time with server using NTPdate; sudo nptdate 10.91.10.10; date
# 3. Create ticket from user and passwordkinit k.john
Misc
# Find Time difference between PC and serverntpdate -q 10.91.10.10
# List Active Kerberos Ticketsklist
# List tickets in keytab fileklist -kt /etc/krb5.keytab
# Swith to super user kerberosKadmin -kt /etc/krb5.keytab -p kadmin/[email protected] -q "add_principal" -pw password [email protected]
Modify Kerberos Database
# list principles using account from keytab filekadmin -kt /etc/krb5.keytab -p kadmin/[email protected] -q "list_principals"# Add principal using account from keytab fileKadmin -kt /etc/krb5.keytab -p kadmin/[email protected] -q "add_principal" admin/[email protected]