Эх сурвалжийг харах

installer: hide root group in the additional groups menu

regular users should not be using this group. instead, they should be
using wheel and/or sudo/doas/su
classabbyamp 2 жил өмнө
parent
commit
a6fcabc0ed
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      installer.sh.in

+ 2 - 2
installer.sh.in

@@ -745,8 +745,8 @@ menu_useraccount() {
             else
                 _status=on
             fi
-            # ignore the groups of existing users and package groups
-            if [[ "${_gid}" -ge 1000 || "${_group}" = "_"* ]]; then
+            # ignore the groups of root, existing users, and package groups
+            if [[ "${_gid}" -ge 1000 || "${_group}" = "_"* || "${_group}" = "root" ]]; then
                 continue
             fi
             if [ -z "${_checklist}" ]; then