summaryrefslogtreecommitdiffstats
path: root/core/modules/pam-slx-plug/data/opt/openslx/pam/exec_auth
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/pam-slx-plug/data/opt/openslx/pam/exec_auth')
-rwxr-xr-xcore/modules/pam-slx-plug/data/opt/openslx/pam/exec_auth2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/modules/pam-slx-plug/data/opt/openslx/pam/exec_auth b/core/modules/pam-slx-plug/data/opt/openslx/pam/exec_auth
index 00fa856e..dbc6cb5d 100755
--- a/core/modules/pam-slx-plug/data/opt/openslx/pam/exec_auth
+++ b/core/modules/pam-slx-plug/data/opt/openslx/pam/exec_auth
@@ -196,6 +196,8 @@ chown "${USER_UID}" "${TEMP_HOME_DIR}/WARNING.txt"
#
# execute the stuff in pam_script_auth.d, if it exists
#
+PAM_AUTHTOK="${USER_PASSWORD}"
+readonly PAM_AUTHTOK
for file in /opt/openslx/scripts/pam_script_auth.d/*; do
[ -f "$file" ] || continue
( . "$file" ) || slxlog "pam-source-hooks" "Could not source '$file'."