summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu/data/opt/openslx/pam/hooks/auth-final-exec.d/40-add-to-dialout.sh
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/qemu/data/opt/openslx/pam/hooks/auth-final-exec.d/40-add-to-dialout.sh')
-rw-r--r--core/modules/qemu/data/opt/openslx/pam/hooks/auth-final-exec.d/40-add-to-dialout.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/modules/qemu/data/opt/openslx/pam/hooks/auth-final-exec.d/40-add-to-dialout.sh b/core/modules/qemu/data/opt/openslx/pam/hooks/auth-final-exec.d/40-add-to-dialout.sh
new file mode 100644
index 00000000..752344a2
--- /dev/null
+++ b/core/modules/qemu/data/opt/openslx/pam/hooks/auth-final-exec.d/40-add-to-dialout.sh
@@ -0,0 +1,5 @@
+#!/bin/ash
+
+adduser "${PAM_USER}" "dialout"
+
+exit 0