IBM AIX
TMA-AIX-4.6.2.1
Ensure root access to ftpd is disabled
HighLevel 1Automatedaix
Description
This change adds the root user to the /etc/ftpusers file, which disables ftp for root. This change ensures that direct root ftp access is disabled. As detailed previously, ftp as a service should be disabled. If the service has to be enabled then this change must be implemented to ensure that remote root file transfer access is not enabled. Audit: pattern match on /etc/ftpusers as described in the CIS audit procedure.
How it is checked
Audit method: File pattern
- File
/etc/ftpusers- Pattern
(?m)^\s*root\s*$
How it is fixed
Fix method: Guidance or infrastructure patch
Add root to the /etc/ftpusers file: echo "root" >> /etc/ftpusers
Properties
- Operating systems
- Any
- Tags
- aixaccounts
- Reference
- CIS IBM AIX 7 Benchmark v1.2.0 - 4.6.2.1 Ensure root access to ftpd is disabled
Check this host
Run this on a machine you are allowed to audit. The scan is read-only.
shell
tmaegis scan --target aix