diff options
author | Simon Rettberg | 2020-03-11 12:27:49 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-03-11 12:27:49 +0100 |
commit | 38344e00906d412120b82b9aaa3be748a2b38959 (patch) | |
tree | b684ffd1743466668679af0813ee392da9b5cc96 /core | |
parent | [run-virt] Add pre-exec and post-exec hooks (diff) | |
download | mltk-38344e00906d412120b82b9aaa3be748a2b38959.tar.gz mltk-38344e00906d412120b82b9aaa3be748a2b38959.tar.xz mltk-38344e00906d412120b82b9aaa3be748a2b38959.zip |
[vbox-src] Always add demo user to vboxusers on bootup
This fixes USB access for autologin, since pam_auth won't run in that
case, which is responsible for adding users to the vboxusers group.
Issue reported and fixed by Uni Mannheim.
Diffstat (limited to 'core')
-rwxr-xr-x | core/modules/vbox-src/data/opt/openslx/scripts/systemd-vbox_env | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/vbox-src/data/opt/openslx/scripts/systemd-vbox_env b/core/modules/vbox-src/data/opt/openslx/scripts/systemd-vbox_env index 75e36d5b..49d5b6c7 100755 --- a/core/modules/vbox-src/data/opt/openslx/scripts/systemd-vbox_env +++ b/core/modules/vbox-src/data/opt/openslx/scripts/systemd-vbox_env @@ -41,6 +41,7 @@ done # check/create vboxusers group getent group vboxusers || addgroup -S vboxusers +adduser demo vboxusers # set their permissions chmod 0600 /dev/vboxdrv /dev/vboxnetctl |