This file is indexed.

/etc/init/vsftpd.conf is in vsftpd 2.3.5-1ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# vsftpd - FTP Daemon
#

description	"vsftpd daemon"
author		"Chuck Short <zulcss@ubuntu.com>"

start on runlevel [2345] or net-device-up IFACE!=lo
stop on runlevel [!2345]
respawn

pre-start script
	check_standalone_mode()
	{
		# Return 1 if vsftpd.conf doesn't have listen yes or listen_ipv6=yes
		CONFFILE="/etc/vsftpd.conf"

		if [ -e  "${CONFFILE}" ] && ! egrep -iq "^ *listen(_ipv6)? *= *yes" "${CONFFILE}"
		then
			echo "${CONFFILE}: listen disabled - service will not start"
			return 1
		fi 
	}
	[ -d /var/run/vsftpd ] || install -m 755 -o root -g root -d /var/run/vsftpd
	[ -d /var/run/vsftpd/empty ] || install -m 755 -o root -g root -d /var/run/vsftpd/empty
	check_standalone_mode || stop
end script

exec /usr/sbin/vsftpd