HardenedBSD/lib/libpam/modules/modules.inc
Emmanuel Vadot 6e69612d5d 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
2024-02-26 18:34:52 +01:00

33 lines
665 B
PHP

.include <src.opts.mk>
MODULES =
MODULES += pam_chroot
MODULES += pam_deny
MODULES += pam_echo
MODULES += pam_exec
MODULES += pam_ftpusers
MODULES += pam_group
MODULES += pam_guest
.if ${MK_KERBEROS} != "no"
MODULES += pam_krb5
MODULES += pam_ksu
.endif
MODULES += pam_lastlog
MODULES += pam_login_access
MODULES += pam_nologin
MODULES += pam_passwdqc
MODULES += pam_permit
.if ${MK_RADIUS_SUPPORT} != "no"
MODULES += pam_radius
.endif
MODULES += pam_rhosts
MODULES += pam_rootok
MODULES += pam_securetty
MODULES += pam_self
.if ${MK_OPENSSH} != "no"
MODULES += pam_ssh
.endif
MODULES += pam_tacplus
MODULES += pam_unix
MODULES += pam_xdg