mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
6e69612d5d
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
33 lines
665 B
PHP
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 |