## Copyright (C) 2012 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.

## Please use "/etc/permission-hardener.d/20_user.conf" or
## "/usr/local/etc/permission-hardener.d/20_user.conf" for your custom
## configuration. When security-misc-shared is updated, this file may be
## overwritten.

## Used by the pam_tmpdir module to create a secure temporary directory for the
## user that is logging in.
## https://manpages.ubuntu.com/manpages/oracular/man8/pam-tmpdir-helper.8.html
## Apparently specific to Debian, there isn't actually any Git repo with this
## code in it, it's just a "floating" package in the Debian archive. Written by
## the same person who maintains the package. Almost certainly cannot be
## disabled without causing serious problems, but may be worth auditing.
## (Worthy of note, it doesn't seem this program takes any user input, but
## relies solely on the calling user's UID and GID, though this could require
## further review.)
##
## Without this, LXQt fails to start with a dbus-launch error.
##
## TODO: audit pam-tmpdir-helper
pam-tmpdir-helper matchwhitelist
