mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-26 00:45:56 -05:00
refactoring
This commit is contained in:
parent
54f5e02c21
commit
cea598dc1a
4
debian/security-misc.preinst
vendored
4
debian/security-misc.preinst
vendored
@ -64,8 +64,8 @@ console_users_check() {
|
||||
IFS=","
|
||||
export IFS
|
||||
|
||||
for user_with_sudo in $console_users $console_unrestricted_users ; do
|
||||
if [ "$user_with_sudo" = "root" ]; then
|
||||
for user_with_console in $console_users $console_unrestricted_users ; do
|
||||
if [ "$user_with_console" = "root" ]; then
|
||||
## root login is also restricted.
|
||||
## Therefore user "root" being member of group "console" is
|
||||
## considered insufficient.
|
||||
|
Loading…
x
Reference in New Issue
Block a user