contrib/pam_xdg
2021-02-22 01:13:42 +01:00
..
.footprint
.md5sum pam_xdg: undocumented PAM!! Need setegid(2) sometimes (boxed environments) 2021-02-22 01:13:42 +01:00
.signature pam_xdg: undocumented PAM!! Need setegid(2) sometimes (boxed environments) 2021-02-22 01:13:42 +01:00
makefile
pam_xdg.8
pam_xdg.c pam_xdg: undocumented PAM!! Need setegid(2) sometimes (boxed environments) 2021-02-22 01:13:42 +01:00
Pkgfile pam_xdg: undocumented PAM!! Need setegid(2) sometimes (boxed environments) 2021-02-22 01:13:42 +01:00
README pam_xdg: now without lock, must ignore EEXIST race of mkdir(2) 2021-02-01 18:53:46 +01:00

README for pam_xdg

PAM module that handles the XDG Base Directory Specification[1]
directories, including creation of XDG_RUNTIME_DIR and injection
of according environment variables into user sessions.

For it to work it must be included in /etc/pam.d -- to make it a
vivid part of session handling the file /etc/pam.d/common-session
seems best.  Include the following early:

   session optional pam_xdg.so [notroot] [runtime]

Use notroot argument to only handle XDG for non-root users.
Use runtime argument to only handle of XDG_RUNTIME_DIR.

  [1] https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html