diff options
author | Steffen Nurpmeso <steffen@sdaoden.eu> | 2021-01-31 01:39:17 +0100 |
---|---|---|
committer | Steffen Nurpmeso <steffen@sdaoden.eu> | 2021-01-31 01:39:17 +0100 |
commit | f2193cf1ac2451cba1777bde2993065d90972f09 (patch) | |
tree | 94c1513f3e786886aad19353a8a66ced2ea4dab2 /pam_xdg/pam_xdg.8 | |
parent | 28d6763c03ac898b7f081463e59ace70c3d69dfa (diff) | |
download | contrib-f2193cf1ac2451cba1777bde2993065d90972f09.tar.gz contrib-f2193cf1ac2451cba1777bde2993065d90972f09.tar.xz |
pam_xdg: strip to minimum (cannot track sessions via PAM), thus graceful
Diffstat (limited to 'pam_xdg/pam_xdg.8')
-rw-r--r-- | pam_xdg/pam_xdg.8 | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/pam_xdg/pam_xdg.8 b/pam_xdg/pam_xdg.8 index 013fb7ea1..67c62ad81 100644 --- a/pam_xdg/pam_xdg.8 +++ b/pam_xdg/pam_xdg.8 @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. . -.Dd January 30, 2021 +.Dd January 31, 2021 .Dt PAM_XDG 8 .Os . @@ -35,7 +35,7 @@ .Sh DESCRIPTION . .Nm -is a PAM module that manages creation and deletion of the +is a PAM module that manages creation of the .Ev XDG_RUNTIME_DIR directory, as well as injection of environment variables denoting all directories specified by the @@ -44,19 +44,17 @@ spec/\:basedir-\:spec-\:latest.html "XDG Base Directory Specification" into user sessions. . .Pp -When linked into the PAM system, the runtime directory will be created as -.Ql /run/user/`id -u` -once a user creates his or her first login session, and it will be -removed recursively once the last such session ends. +When linked into the PAM session system the runtime directory will be +created once a user creates his or her first login session. Unless .Ar rundir -was given all XDG related environment variables will be created in the -user session with their default or computed values, otherwise only +was given all XDG related environment variables will be created in all +user sessions with their default or computed values, otherwise only .Ev XDG_RUNTIME_DIR . If .Ar notroot -was given the module will bypass itself for root account logins, that -is, no actions will be performed. +was given the module will bypass itself for root account logins and +perform no actions for root. . .Pp In order to make use of this script, place the following in the control |