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 *
Line 
1#!/usr/bin/perl -0p
2s|^(session[ \t]+)required([ \t]+)(pam_unix\.so([ \t]+.*)?)\n|$1required$2$3\n$1optional$2pam_krb5.so\n$1optional$2pam_krb524.so\n$1optional$2pam_afs_session.so aklog_homedir\n$1optional$2pam_debathena_home_type.so\n$1optional$2pam_mktemp.so var=ATHENA_SESSION_TMPDIR prefix=/var/run/athena-sessions/session dir\n$1 [default=1 success=ignore]$2pam_succeed_if.so quiet home =~ /mit/*\n$1 [default=1 success=ignore]$2pam_succeed_if.so quiet home =~ /afs/*\n$1optional$2pam_mktemp.so var=XDG_CACHE_HOME prefix=/var/run/athena-sessions/xdgcache dir\n|m or die;
3
Note: See TracBrowser for help on using the repository browser.