pam_xdg(8)

pam_xdg8

Xdg pam module

Usage

[service-name] module-type control-flag pam_xdg [arguments]

Overview

The xdg service module for PAM creates the runtime files base directory according to the Cross Desktop Group Base Directory Specification.

By default the directory is created under /var/run/xdg/$USER.

The following option may be passed to the authentication module:

runtime_dir_prefix=directory

Use an alternate base directory

Environment

XDG_RUNTIME_DIR

The location of the runtime files base directory created by this module.

Releases

8 releases since FreeBSD 14.1-RELEASE; the text changed 3 times.

  1. 14.1
  2. 14.2–14.3
  3. 14.4–15.1
  4. 16.0

Standards

The directory created by this module conforms to the XDG Base Directory Specification: https://specifications.freedesktop.org/basedir-spec.

Authors

The pam_xdg module and this manual page were written by Emmanuel Vadot ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.