SV-269238r1050120_rule
V-269238
SRG-OS-000480-GPOS-00227
ALMA-09-017950
CAT II
10
Remove unauthorized local interactive user accounts with the following command where <unauthorized_user> is the unauthorized account:
$ userdel -rf <unauthorized_user>
Verify that there are no unauthorized interactive user accounts with the following command:
$ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
...
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
simon:x:1000:1000::/home/simon:/bin/bash
Interactive user accounts, 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-269238
False
ALMA-09-017950
Verify that there are no unauthorized interactive user accounts with the following command:
$ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
...
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
simon:x:1000:1000::/home/simon:/bin/bash
Interactive user accounts, 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
5664