Get a Kerberos ticket in Linux at IU

To get a Kerberos ticket, you need to issue a kinit command. To do so:

  1. Install the package that provides the kinit command:
    • RHEL or Fedora: krb5-workstation
    • Ubuntu or Debian: krb5-user
  2. In /etc, place the following into a file called krb5.conf:
    [domain_realm]
    	.ads.iu.edu = ADS.IU.EDU
    	.indiana.edu = ADS.IU.EDU
    	.iu.edu = ADS.IU.EDU
    	.iub.edu = ADS.IU.EDU
    	.iue.edu = ADS.IU.EDU
    	.iuk.edu = ADS.IU.EDU
    	.iun.edu = ADS.IU.EDU
    	.iupui.edu = ADS.IU.EDU
    	.ius.edu = ADS.IU.EDU
    	.iusb.edu = ADS.IU.EDU
    	indiana.edu = ADS.IU.EDU
    	iu.edu = ADS.IU.EDU
    	iub.edu = ADS.IU.EDU
    	iue.edu = ADS.IU.EDU
    	iuk.edu = ADS.IU.EDU
    	iun.edu = ADS.IU.EDU
    	iupui.edu = ADS.IU.EDU
    	ius.edu = ADS.IU.EDU
    	iusb.edu = ADS.IU.EDU
    
    [libdefaults]
    	default_realm = ADS.IU.EDU
    
    [realms]
    	ADS.IU.EDU = {
    		kdc = ads.iu.edu:88
    	}
  3. Issue kinit username to get your ticket.

To see your tickets, issue a klist command.

This is document batb in the Knowledge Base.
Last modified on 2023-07-18 09:18:16.