[OpenAFS] X11 logout script

Jaap Winius jwinius@umrk.nl
Tue, 03 Jun 2014 22:56:02 +0200

Hi folks,

Some of the the sites that I maintain use an elaborate logout script,  
located in  /etc/X11/Xreset.d/, that runs as root and contains many  
sudo commands to make changes to each user's home directory. It works  
because these directories are made available via NFSv3 (another  
story), but what if I was using AFS for them (or even NFSv4 with  
Kerberos)? Is there some way to run an X11 logout script as an  
unprivileged user, similar to /etc/bash.bash_logout?