SV-215322r508663_rule
V-215322
SRG-OS-000074-GPOS-00042
AIX7-00-003005
CAT I
10
Use the chmod command to remove all permissions on these commands:
# chmod ugo= /usr/bin/rcp
# chmod ugo= /usr/bin/rlogin
# chmod ugo= /usr/bin/rsh
# chmod ugo= /usr/bin/rexec
# chmod ugo= /usr/bin/telnet
From the command prompt, execute the following commands:
# ls -l /usr/bin/rcp | awk '{print $1}'
# ls -l /usr/bin/rlogin | awk '{print $1}'
# ls -l /usr/bin/rsh | awk '{print $1}'
# ls -l /usr/bin/telnet | awk '{print $1}'
# ls -l /usr/bin/rexec | awk '{print $1}'
Each of the above commands should return with the following permissions:
----------
If the permissions are more permissive, this is a finding.
V-215322
False
AIX7-00-003005
From the command prompt, execute the following commands:
# ls -l /usr/bin/rcp | awk '{print $1}'
# ls -l /usr/bin/rlogin | awk '{print $1}'
# ls -l /usr/bin/rsh | awk '{print $1}'
# ls -l /usr/bin/telnet | awk '{print $1}'
# ls -l /usr/bin/rexec | awk '{print $1}'
Each of the above commands should return with the following permissions:
----------
If the permissions are more permissive, this is a finding.
M
4012