mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-03-09 20:30:23 +07: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"
|
IFS="$OLD_IFS"
|
||||||
export 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
|
if [ ! "$are_there_any_sudo_users" = "yes" ]; then
|
||||||
echo "$0: ERROR: No user is a member of group 'sudo'. Installation aborted." >&2
|
echo "$0: ERROR: No user is a member of group 'sudo'. Installation aborted." >&2
|
||||||
exit 200
|
exit 200
|
||||||
|
Loading…
Reference in New Issue
Block a user