10.3 Set Default Group for root Account

Information

The usermod command can be used to specify which group the root user belongs to. This affects permissions of files that are created by the root user.
Using GID 0 for the root account helps prevent root-owned files from accidentally becoming accessible to non-privileged users.

Solution

usermod -g 0 root

See Also

https://workbench.cisecurity.org/files/91

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6(5), CSCv6|5.1

Plugin: Unix

Control ID: d3b7e4b5458f6ed990a7e1ce9366c80183aaf84b4525313c3ddbba629afba707