diff options
author | Manuel Bentele | 2021-07-05 13:04:23 +0200 |
---|---|---|
committer | Manuel Bentele | 2021-07-05 13:04:23 +0200 |
commit | 839a4514406abbfb58408f6449f8aa98f9b045f8 (patch) | |
tree | 309e885587157f7b4bcf5471b26ec5be9c5e7cfe | |
parent | [qemu] Terminate virt-viewer if VM is powered off (diff) | |
download | mltk-839a4514406abbfb58408f6449f8aa98f9b045f8.tar.gz mltk-839a4514406abbfb58408f6449f8aa98f9b045f8.tar.xz mltk-839a4514406abbfb58408f6449f8aa98f9b045f8.zip |
[qemu] Add user to 'dialout' group for serial/parport access
-rw-r--r-- | core/modules/qemu/data/opt/openslx/pam/hooks/auth-final-exec.d/40-add-to-dialout.sh | 5 |
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 |