diff options
| author | Jonathan Bauer | 2014-03-18 15:51:51 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2014-03-18 15:51:51 +0100 |
| commit | 2e835432ba4b688eef7a9798db07a9b59c62ecfc (patch) | |
| tree | 0a6b199ed5aaa608c0bf8902db9e9abcfc8d5856 /remote/modules/pam/data/opt | |
| parent | [sshd] added TODO: (diff) | |
| download | tm-scripts-2e835432ba4b688eef7a9798db07a9b59c62ecfc.tar.gz tm-scripts-2e835432ba4b688eef7a9798db07a9b59c62ecfc.tar.xz tm-scripts-2e835432ba4b688eef7a9798db07a9b59c62ecfc.zip | |
[pam] fix wrong permissions of temporary home dir
Diffstat (limited to 'remote/modules/pam/data/opt')
| -rwxr-xr-x | remote/modules/pam/data/opt/openslx/scripts/pam_script_auth | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
