diff options
| author | Manuel Bentele | 2021-07-28 13:59:14 +0200 |
|---|---|---|
| committer | Manuel Bentele | 2021-07-28 13:59:14 +0200 |
| commit | e16ca21a21e0549d119547ff5f5fc28edf36e79b (patch) | |
| tree | 7099f4d72655011f8681213b26c9979d59345c73 /core/modules/libvirt/data/opt | |
| parent | [qemu] Parse GPU passthrough devices from kernel cmdln in run-virt plugin (diff) | |
| download | mltk-e16ca21a21e0549d119547ff5f5fc28edf36e79b.tar.gz mltk-e16ca21a21e0549d119547ff5f5fc28edf36e79b.tar.xz mltk-e16ca21a21e0549d119547ff5f5fc28edf36e79b.zip | |
[libvirt] Add system group for passthrough devices that a user can access
Diffstat (limited to 'core/modules/libvirt/data/opt')
| -rwxr-xr-x | core/modules/libvirt/data/opt/openslx/pam/hooks/auth-final-exec.d/45-add-to-libvirt-passthrough.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/modules/libvirt/data/opt/openslx/pam/hooks/auth-final-exec.d/45-add-to-libvirt-passthrough.sh b/core/modules/libvirt/data/opt/openslx/pam/hooks/auth-final-exec.d/45-add-to-libvirt-passthrough.sh new file mode 100755 index 00000000..3dedb96a --- /dev/null +++ b/core/modules/libvirt/data/opt/openslx/pam/hooks/auth-final-exec.d/45-add-to-libvirt-passthrough.sh @@ -0,0 +1,5 @@ +#!/bin/ash + +adduser "${PAM_USER}" "libvirt-passthrough" + +exit 0 |
