mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
skip check if any non-root user is a member of group sudo and console if file
/var/lib/security-misc/skip_install_check exists
This commit is contained in:
parent
d7a69628b1
commit
bc22fc9fdb
6
debian/security-misc.preinst
vendored
6
debian/security-misc.preinst
vendored
@ -49,6 +49,9 @@ user_groups_modifications() {
|
||||
}
|
||||
|
||||
sudo_users_check () {
|
||||
if test -f /var/lib/security-misc/skip_install_check ; then
|
||||
return 0
|
||||
fi
|
||||
if command -v "qubesdb-read" &>/dev/null; then
|
||||
## Qubes users can use dom0 to get a root terminal emulator.
|
||||
## For example:
|
||||
@ -96,6 +99,9 @@ sudo_users_check () {
|
||||
}
|
||||
|
||||
console_users_check() {
|
||||
if test -f /var/lib/security-misc/skip_install_check ; then
|
||||
return 0
|
||||
fi
|
||||
if command -v "qubesdb-read" &>/dev/null; then
|
||||
## Qubes users can use dom0 to get a root terminal emulator.
|
||||
## For example:
|
||||
|
Loading…
Reference in New Issue
Block a user