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