SLEM 5 must not have unnecessary account capabilities.
An XCCDF Rule
Description
Accounts providing no operational purpose provide additional opportunities for system compromise. Therefore all necessary noninteractive accounts should not have an interactive shell assigned to them.
- ID
- SV-261358r996829_rule
- Version
- SLEM-05-411060
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Configure SLEM 5 so that all noninteractive accounts on the system have no interactive shell assigned to them.
Run the following command to disable the interactive shell for a specific noninteractive user account:
> sudo usermod --shell /sbin/nologin nobody