mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-13 11:59:29 -05:00
skip console_users_check for Qubes users
This commit is contained in:
parent
ab68182e11
commit
62eb462920
7
debian/security-misc.preinst
vendored
7
debian/security-misc.preinst
vendored
@ -94,6 +94,13 @@ sudo_users_check () {
|
||||
}
|
||||
|
||||
console_users_check() {
|
||||
if command -v "qubesdb-read" &>/dev/null; then
|
||||
## Qubes users can use dom0 to get a root terminal emulator.
|
||||
## For example:
|
||||
## qvm-run -u root debian-10 xterm
|
||||
return 0
|
||||
fi
|
||||
|
||||
console_users="$(getent group console | cut -d: -f4)"
|
||||
## example ssh_users:
|
||||
## user
|
||||
|
Loading…
Reference in New Issue
Block a user