Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Renew Kerberos ticket

avatar
Explorer

Hello Everyone,

How can we renew the kerberos ticket from both MIT as well as AD kerberos

whats the step?

 

 

 

Thanks in Advance

Nilesh

2 ACCEPTED SOLUTIONS

avatar
Master Collaborator

@Nil_kharat   To renew the Kerberos ticket, run kinit and specify both the keytab file and the principal:

 

# kinit -kt <keytab> <Principal>

Example:
# kinit -kt user1.keytab [email protected]

 

View solution in original post

avatar
Master Collaborator

@Nil_kharat Ticket lifetime is set in kerberos configuration file krb5.conf in MIT kerberos,

You can check the lifetime of the ticket using # klist command after doing kinit 

 

You can still specify the lifetime of the ticket using -l option as shown  below

# kinit -l 30m -kt <Keytab> <principal>

Example:
kinit -l 30m -kt sai.keytab [email protected]

 

View solution in original post

3 REPLIES 3

avatar
Master Collaborator

@Nil_kharat   To renew the Kerberos ticket, run kinit and specify both the keytab file and the principal:

 

# kinit -kt <keytab> <Principal>

Example:
# kinit -kt user1.keytab [email protected]

 

avatar
Explorer

Thanks @Scharan 

How can we specify the duration for that ticket

avatar
Master Collaborator

@Nil_kharat Ticket lifetime is set in kerberos configuration file krb5.conf in MIT kerberos,

You can check the lifetime of the ticket using # klist command after doing kinit 

 

You can still specify the lifetime of the ticket using -l option as shown  below

# kinit -l 30m -kt <Keytab> <principal>

Example:
kinit -l 30m -kt sai.keytab [email protected]