This commit is contained in:
Patrick Schleizer 2025-01-14 03:56:55 -05:00
parent 0ac85ea9f5
commit 9f1759ba0e
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -5,5 +5,18 @@
## "/usr/local/etc/permission-hardener.d/20_user.conf" for your custom ## "/usr/local/etc/permission-hardener.d/20_user.conf" for your custom
## configuration. When security-misc is updated, this file may be overwritten. ## configuration. When security-misc 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, Xfce fails to start with a dbus-launch error. ## Without this, Xfce fails to start with a dbus-launch error.
##
## TODO: audit pam-tmpdir-helper
pam-tmpdir-helper matchwhitelist pam-tmpdir-helper matchwhitelist