source: trunk/debathena/config/pam-config/debian/transform_common-session.debathena @ 25595

Revision 25595, 578 bytes checked in by jdreed, 12 years ago (diff)
In pam-config: * Set XDG_CACHE_HOME to something on local disk if the user's homedir is in AFS (or an approximation thereof) (Trac: #1109 and #1162)
  • Property svn:executable set to *
1#!/usr/bin/perl -0p
2s|^(session[ \t]+)required([ \t]+)(pam_unix\.so([ \t]+.*)?)\n|$1required$2$3\n$1optional$\n$1optional$\n$1optional$ aklog_homedir\n$1optional$\n$1optional$ var=ATHENA_SESSION_TMPDIR prefix=/var/run/athena-sessions/session dir\n$1 [default=1 success=ignore]$ quiet home =~ /mit/*\n$1 [default=1 success=ignore]$ quiet home =~ /afs/*\n$1optional$ var=XDG_CACHE_HOME prefix=/var/run/athena-sessions/xdgcache dir\n|m or die;
Note: See TracBrowser for help on using the repository browser.