3.6.6.2 FTP: Display acceptable usage policy during login

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Set an ftp login banner which displays the acceptable usage policy.

Rationale:

The message in banner.msg is displayed for FTP logins. Banners display necessary warnings to users trying to gain unauthorized access to the system and are required for legal purposes. The recommendation is to set the banner as:

'Authorized uses only. All activity will be monitored and reported'.

The content may be changed to reflect any corporate AUP.

Solution

Ensure that the bos.msg.en_US.net.tcp.client fileset is installed:

lslpp -L 'bos.msg.en_US.net.tcp.client'

NOTE: If the fileset is not installed, install it from the AIX media or another software repository. The fileset should reflect the language used on the server.
Once installed set the ftp AUP banner:

dspcat -g /usr/lib/nls/msg/en_US/ftpd.cat > /tmp/ftpd.tmp
sed 's/'%s FTP server (%s) ready.'/'%s Authorized uses only. All activity may be monitored and reported'/' /tmp/ftpd.tmp > /tmp/ftpd.msg
gencat /usr/lib/nls/msg/en_US/ftpd.cat /tmp/ftpd.msg
rm /tmp/ftpd.tmp /tmp/ftpd.msg

Default Value:

%s FTP server (%s) ready.

Additional Information:

Another way to install a banner is to create /etc/ftpaccess.ctl with the following contents:

herald: /etc/ftp_banner

Then create the file /etc/ftp_banner and write something to it. The banner appears before authentication:

print 'Authorized uses only. All activity may be monitored and reported.' >/etc/ftp_banner

chmod a-wx /etc/ftp_banner

ftp localhost

Connected to loopback. 220-Authorized uses only. All activity may be monitored and reported. 220 aix71tl5sp3 FTP server (Version 4.2 Fri Apr 6 19:34:30 CDT 2018) ready. Name (localhost:root):

See Also

https://workbench.cisecurity.org/files/3525