SV-271770r1092022_rule
V-271770
SRG-OS-000480-GPOS-00227
OL09-00-002501
CAT II
10
Remove unauthorized local interactive user accounts with the following command where <unauthorized_user> is the unauthorized account:
$ sudo userdel <unauthorized_user>
Verify that OL 9 prohibits unauthorized interactive user accounts with the following command:
$ less /etc/passwd
root:x:0:0:root:/root:/bin/bash
...
games:x:12:100:games:/usr/games:/sbin/nologin
scsaustin:x:1001:1001:scsaustin:/home/scsaustin:/bin/bash
djohnson:x:1002:1002:djohnson:/home/djohnson:/bin/bash
Interactive user account, generally will have a user identifier (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 (ISSO) 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-271770
False
OL09-00-002501
Verify that OL 9 prohibits unauthorized interactive user accounts with the following command:
$ less /etc/passwd
root:x:0:0:root:/root:/bin/bash
...
games:x:12:100:games:/usr/games:/sbin/nologin
scsaustin:x:1001:1001:scsaustin:/home/scsaustin:/bin/bash
djohnson:x:1002:1002:djohnson:/home/djohnson:/bin/bash
Interactive user account, generally will have a user identifier (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 (ISSO) 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
5680