The regular users default primary group must be staff (or equivalent) on AIX.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-215182 | SRG-OS-000001-GPOS-00001 | AIX7-00-001016 | SV-215182r958362_rule | 2024-08-16 | 3 |
| Description |
|---|
| The /usr/lib/security/mkuser.default file contains the default primary groups for regular and admin users. Setting a system group as the regular users' primary group increases the risk that the regular users can access privileged resources. |
| ℹ️ Check |
|---|
| Check the default primary group for regular users: # lssec -f /etc/security/mkuser.default -s user -a pgrp The above command should yield the following output: user pgrp=staff If the above command shows that the primary group (pgrp) is not "staff", this is a finding. |
| ✔️ Fix |
|---|
| Set the default primary groups for regular to be "staff". # chsec -f /etc/security/mkuser.default -s user -a pgrp=staff |