summaryrefslogtreecommitdiffstats
path: root/remote/modules/dnbd3
diff options
context:
space:
mode:
authorJonathan Bauer2016-01-05 16:21:57 +0100
committerJonathan Bauer2016-01-05 16:21:57 +0100
commit9d3794b7e5d9bca4af21ab1deeb8a5f5c632d726 (patch)
tree08996d531ad65ef30224e30d3a2f83835aaa491a /remote/modules/dnbd3
parent[run-virt] openslx.exe: Rename Shutdown button to "Abmelden" (Win7 only) (diff)
downloadtm-scripts-9d3794b7e5d9bca4af21ab1deeb8a5f5c632d726.tar.gz
tm-scripts-9d3794b7e5d9bca4af21ab1deeb8a5f5c632d726.tar.xz
tm-scripts-9d3794b7e5d9bca4af21ab1deeb8a5f5c632d726.zip
[dnbd3] use adduser instead of usermod
Diffstat (limited to 'remote/modules/dnbd3')
-rw-r--r--remote/modules/dnbd3/data/opt/openslx/scripts/pam_script_auth.d/10-fuse2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/dnbd3/data/opt/openslx/scripts/pam_script_auth.d/10-fuse b/remote/modules/dnbd3/data/opt/openslx/scripts/pam_script_auth.d/10-fuse
index 2ae0d203..85d8a75a 100644
--- a/remote/modules/dnbd3/data/opt/openslx/scripts/pam_script_auth.d/10-fuse
+++ b/remote/modules/dnbd3/data/opt/openslx/scripts/pam_script_auth.d/10-fuse
@@ -1,5 +1,5 @@
-usermod -a -G "fuse" "${PAM_USER}"
+adduser "${PAM_USER}" "fuse"
ret=$?
[ "$ret" -ne "0" ] && slxlog "pam-auth-fuse" "Could not add $PAM_USER to group 'fuse'"
true