Information
AlmaLinux OS 9 must not have unauthorized accounts.
GROUP ID: V-269238
RULE ID: SV-269238r1050120
Accounts providing no operational purpose provide additional opportunities for system compromise. Unnecessary accounts include user accounts for individuals not requiring access to the system and application accounts for applications not installed on the system.
NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.
Solution
Remove unauthorized local interactive user accounts with the following command where <unauthorized_user> is the unauthorized account:
$ userdel -rf <unauthorized_user>