9.7 Verify No UID 0 Accounts Exist Other than root

Information

Any account with UID 0 has superuser rights on the system.

Rationale:

This access must be limited to only the default root role and be made accessible from the system console only. Administrative access granted to an unprivileged account should use an approved mechanism such as RBAC.

Solution

Disable or delete any other 0 UID entries that are displayed; there should be only one root account. Finer granularity access control for administrative access can be obtained by using the Solaris Role-Based Access Control (RBAC) mechanism. RBAC configurations should be monitored via user_attr(4) to make sure that privileges are managed appropriately.

See Also

https://workbench.cisecurity.org/benchmarks/4777