>From 897339e0bfacadb9269ea855e7050bffc810a910 Mon Sep 17 00:00:00 2001 From: Shawn Wells Date: Wed, 19 Sep 2012 11:18:36 -0400 Subject: [PATCH 01/14] Created OCIL for ftp_present_banner - Updated text to reflect default config file location at /etc/vsftpd/vsftpd.conf - Created OCIL text to grep out the value of banner_file and ensure it is "/etc/issue" --- RHEL6/input/services/ftp.xml | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/RHEL6/input/services/ftp.xml b/RHEL6/input/services/ftp.xml index da0a476..9586a14 100644 --- a/RHEL6/input/services/ftp.xml +++ b/RHEL6/input/services/ftp.xml @@ -85,7 +85,8 @@ format. The default vsftpd log file is /var/log/vsftpd.log. Create Warning Banners for All FTP Users -Edit the vsftpd configuration file. Add or correct the following configuration options: +Edit the vsftpd configuration file, which resides at /etc/vsftpd/vsftpd.conf +by default. Add or correct the following configuration options:
banner_file=/etc/issue
This setting will cause the system greeting banner to be used for FTP connections as well. @@ -93,6 +94,12 @@ format. The default vsftpd log file is /var/log/vsftpd.log. +To verify this configuration, run the following command: +
grep "banner_file" /etc/vsftpd/vsftpd.conf
+ +The output should show the value of banner_file is set to /etc/issue, an example of which is shown below: +
# grep "banner_file" /etc/issue
+banner_file=/etc/issue"
-- 1.7.1