summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJonathan Bauer2013-09-20 17:01:22 +0200
committerJonathan Bauer2013-09-20 17:01:22 +0200
commit0c87185a27c83431e50a528f67be1cbd7411d1c0 (patch)
treeecd5edbcf7d4c6f5b71a92abf84b6b7f58220249 /server
parent[pam-hso] fix permissions for pam scripts mouting homes. (diff)
downloadtm-scripts-0c87185a27c83431e50a528f67be1cbd7411d1c0.tar.gz
tm-scripts-0c87185a27c83431e50a528f67be1cbd7411d1c0.tar.xz
tm-scripts-0c87185a27c83431e50a528f67be1cbd7411d1c0.zip
[pam-freiburg] fix permission
Diffstat (limited to 'server')
-rwxr-xr-xserver/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_close1
-rwxr-xr-xserver/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_open2
2 files changed, 2 insertions, 1 deletions
diff --git a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_close b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_close
index 01d409a1..44dcd418 100755
--- a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_close
+++ b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_close
@@ -2,3 +2,4 @@
[ ! -z "$SLX_DEBUG" ] && echo "[$PAM_TYPE] Closing session for $PAM_USER"
+
diff --git a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_open b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_open
index 9af51e7f..205090b6 100755
--- a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_open
+++ b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_open
@@ -22,7 +22,7 @@ if [ $(id -g $PAM_USER) -ge 1000 ]; then
FILESERVER=$(cat /tmp/ldapsearch.$PAM_USER | grep rufFileserver | cut -d" " -f2)
VOLUME=$(cat /tmp/ldapsearch.$PAM_USER | grep homeDirectory | cut -d" " -f2)
- # now we can mount the home directory
+ # now we can mount the home directory!
mkdir -p /home/$PAM_USER
if mount -t nfs4 -o rw,nosuid,nodev,nolock,intr,hard,sloppy,sec=krb5p "$FILESERVER":"$VOLUME" /home/"$PAM_USER"; then
exit 0