diff options
| author | Emmanuel Vadot <manu@FreeBSD.org> | 2024-02-21 14:51:05 +0000 |
|---|---|---|
| committer | Emmanuel Vadot <manu@FreeBSD.org> | 2024-02-26 17:34:52 +0000 |
| commit | 6e69612d5df1c1d5bd86990ea4d9a170c030b292 (patch) | |
| tree | 7bc80843ee5f962939b4520da11dadcbbdc01de3 /libexec | |
| parent | 1a56620b7958cac2b9048589cb730c46958ab539 (diff) | |
pam: Add pam_xdg module
This is a module to setup the XDG directories and environment variables.
For now the only usage is to have a XDG_RUNTIME_DIR environment setup at
user login.
All other environment variable have a default fallback so no need to export
them in this module.
The directory is created according to the XDG Base directory specification.
The default base directory is /var/run/xdg/<username> but can be configured
using the runtime_dir=<dir> module option.
According to the spec the directory *must* not survive a reboot so adding
var_run_enable="YES" to rc.conf is highly recommanded.
Reviewed by: des, pauamma (manpages)
Differential Revision: https://reviews.freebsd.org/D44011
Sponsored by: Beckhoff Automation GmbH & Co. KG
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions
