mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
comment
This commit is contained in:
parent
a99dfd067a
commit
e76e1475b0
2
debian/security-misc.preinst
vendored
2
debian/security-misc.preinst
vendored
@ -38,6 +38,8 @@ if [ "$1" = "install" ]; then
|
||||
IFS="$OLD_IFS"
|
||||
export IFS
|
||||
|
||||
## Prevent users from locking themselves out.
|
||||
## https://forums.whonix.org/t/is-security-misc-suitable-for-hardening-bridges-and-relays/8299/4
|
||||
if [ ! "$are_there_any_sudo_users" = "yes" ]; then
|
||||
echo "$0: ERROR: No user is a member of group 'sudo'. Installation aborted." >&2
|
||||
exit 200
|
||||
|
Loading…
Reference in New Issue
Block a user