Skip to content

Commit 1e97ce2

Browse files
committed
fix: disable pam_mktemp for PAM stack compatibility
Private tmp directory is not needed as /tmp is mounted from host system. Using pam_mktemp would break the PAM stack. Signed-off-by: Andrey Limachko <liannnix@altlinux.org>
1 parent 3157885 commit 1e97ce2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

distrobox-init

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,7 @@ setup_aptrpm()
969969
control sudo public
970970
control sudoreplay public
971971
control su wheel
972+
control pam_mktemp disabled
972973
mkdir -p /etc/tcb/"${container_user_name}"
973974
echo "${container_user_name}::::::::" > /etc/tcb/"${container_user_name}"/shadow
974975
sed -i 's/*//g' /etc/passwd

0 commit comments

Comments
 (0)