From 2e835432ba4b688eef7a9798db07a9b59c62ecfc Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 18 Mar 2014 15:51:51 +0100 Subject: [pam] fix wrong permissions of temporary home dir --- remote/modules/pam/data/opt/openslx/scripts/pam_script_auth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote/modules') diff --git a/remote/modules/pam/data/opt/openslx/scripts/pam_script_auth b/remote/modules/pam/data/opt/openslx/scripts/pam_script_auth index c50e94d5..ee4ff094 100755 --- a/remote/modules/pam/data/opt/openslx/scripts/pam_script_auth +++ b/remote/modules/pam/data/opt/openslx/scripts/pam_script_auth @@ -31,7 +31,7 @@ mkdir -p "${TEMP_HOME_DIR}" || \ { slxlog "pam-global-mktemphome" "Could not create '${TEMP_HOME_DIR}'."; exit 1; } # now make it a tmpfs -mount -t tmpfs -o size=100m tmpfs "${TEMP_HOME_DIR}" || \ +mount -t tmpfs -o mode=700,size=100m tmpfs "${TEMP_HOME_DIR}" || \ { slxlog "pam-global-tmpfstemphome" "Could not make a tmpfs on ${TEMP_HOME_DIR}"; exit 1; } # create a WARNING.txt for the user -- cgit v1.2.3-55-g7522