Wednesday, December 12, 2012

sudo takes a long time on ubuntu 12.10 after installing kerberos client

I recently installed Ubuntu Desktop 12.10 on my new office laptop. I also installed kerberos client since we use it for authentication for some common services. But since then, sudo started taking long time when I work from home.

After digging for information, I found in /var/log/auth.log that pam_krb5() authentication is failing because it is unable to contact the KDC server!

Fixed it by editing /etc/pam.d/common-auth and commenting the following line

auth [success=2 default=ignore]    pam_krb5.so minimum_uid=1000

No comments: