summaryrefslogtreecommitdiff
path: root/pam_xdg/README
blob: 3221cb225287ec638dfdbb9bb3becf8c32f60a08 (plain)
    1 README for pam_xdg
    2 
    3 This is a module for PAM that handles the XDG Base Directory
    4 Specification[1] directories, including lifetime management
    5 of XDG_RUNTIME_DIR and injection of according environment variables
    6 into the user session.
    7 
    8 For it to work it must be included in /etc/pam.d -- to make it a
    9 vivid part of session handling the file /etc/pam.d/common-session
   10 seems best.  Include the following early:
   11 
   12 	session optional pam_xdg.so [notroot] [runtime]
   13 
   14 Use notroot argument to only handle XDG for non-root users.
   15 Use runtime argument to only handle of XDG_RUNTIME_DIR.
   16 
   17   [1] https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Generated by cgit