refactoring

This commit is contained in:
Patrick Schleizer 2019-12-08 02:43:05 -05:00
parent 54f5e02c21
commit cea598dc1a
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -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.