Access Keys:
Skip to content (Access Key - 0)

Q: How do I prevent my tickets from being renewed when I unlock my screen on Debathena?

Answer

By default, when you unlock your screen, Debathena will renew your Kerberos tickets for you. In many cases, this is the desired behavior. On your own workstation, however, you may wish to change this behavior (e.g., if you're running zwgc). You can do so as follows:

Be Careful
This procedure involves editing some system configuration files. Errors here can leave you without access to your system. Please ensure you have a current backup before proceeding.
  1. As root, open the file /etc/pam.d/gnome-screensaver for editing in your text editor of choice.
  2. Find the line that contains
    @include common-auth

    and delete it. In place of that line, insert the entire contents of the file /etc/pam.d/common-auth.

  3. In the text you just inserted, find the line that begins with the word auth and also contains the text pam_krb5.so somewhere in the middle of the line. It should look something like the following, but may not match exactly:
    auth    [success=2 authinfo_unavail=ignore default=die] pam_krb5.so minimum_uid=1 use_first_pass
  4. At the end of that line, add a space, and then the string no_ccache.
  5. Save the file.

Now, when you lock your screen, your existing Kerberos tickets will not be overwritten. Note that if you unlock your screen after being away for several hours or overnight, your tickets may have expired. After you unlock your screen, you will need to type renew in the Terminal to obtain new tickets.

IS&T Contributions

Documentation and information provided by IS&T staff members


Last Modified:

October 03, 2013

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
Labels:
debathena debathena Delete
zwgc zwgc Delete
auth auth Delete
kerberos kerberos Delete
unlock unlock Delete
krb5 krb5 Delete
c-debathena c-debathena Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
Feedback
This product/service is:
Easy to use
Average
Difficult to use

This article is:
Helpful
Inaccurate
Obsolete
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki