BSD Ports

sysutils/pam_xdg 0.8.5 DragonFly

PAM module to manage XDG Base Directories

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ISCL
Categories
sysutils, wayland
Package size
7.7 KiB, 14.8 KiB installed

Description

XDG Base Directories support via PAM: creation of $XDG_RUNTIME_DIRs, injection of environment variables into sessions.

In the other systems

SystemPortVersion
DragonFlysysutils/pam_xdg0.8.5
FreeBSDsysutils/pam_xdg0.8.5
HardenedBSDsysutils/pam_xdg0.8.5
GhostBSDsysutils/pam_xdg0.8.5

Install

Binary package:

pkg install pam_xdg

From DPorts:

cd /usr/dports/sysutils/pam_xdg && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Read pam_xdg(8) manpage for instructions how to configure PAM.
On FreeBSD >= 14.1 replace pam_xdg.so in /etc/pam/* with
/usr/local/lib/pam_xdg.so (absolute path).

XDG_RUNTIME_DIR on Wayland maybe used as a fallback for anonymous
shared memory. For better performance and to avoid posix_fallocate(2)
issues on ZFS moving the directory under tmpfs(5) is recommended:

  # echo "none	/var/run/user	tmpfs	rw" >>/etc/fstab
  # mkdir -p /var/run/user
  # mount -a