SV-281199r1166549_rule
V-281199
SRG-OS-000080-GPOS-00048
RHEL-10-600450
CAT II
10
Configure RHEL 10 to have no unauthorized local interactive user accounts with the following command, where <unauthorized_user> is the unauthorized account:
$ sudo userdel <unauthorized_user>
Verify RHEL 10 has no unauthorized local interactive user accounts with the following command:
$ less /etc/passwd
root:x:0:0:root:/root:/bin/bash
...
nsauser:x:1000:1000:nsauser:/home/nsauser:/bin/bash
doduser:x:1001:1001:doduser:/home/doduser:/bin/bash
Interactive user accounts generally will have a user ID (UID) of 1000 or greater, a home directory in a specific partition, and an interactive shell.
Obtain the list of interactive user accounts authorized to be on the system from the system administrator or information system security officer and compare it to the list of local interactive user accounts on the system.
If there are unauthorized local user accounts on the system, this is a finding.
V-281199
False
RHEL-10-600450
Verify RHEL 10 has no unauthorized local interactive user accounts with the following command:
$ less /etc/passwd
root:x:0:0:root:/root:/bin/bash
...
nsauser:x:1000:1000:nsauser:/home/nsauser:/bin/bash
doduser:x:1001:1001:doduser:/home/doduser:/bin/bash
Interactive user accounts generally will have a user ID (UID) of 1000 or greater, a home directory in a specific partition, and an interactive shell.
Obtain the list of interactive user accounts authorized to be on the system from the system administrator or information system security officer and compare it to the list of local interactive user accounts on the system.
If there are unauthorized local user accounts on the system, this is a finding.
M
5733