Starting And Stopping Vsftpd - Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

• /etc/rc.d/init.d/vsftpd — The initialization script (initscript) used by the /sbin/service
command to start, stop, or reload vsftpd. Refer to
for more information about using this script.
• /etc/pam.d/vsftpd — The Pluggable Authentication Modules (PAM) configuration file for
vsftpd. This file specifies the requirements a user must meet to login to the FTP server. For more
information, refer to
• /etc/vsftpd/vsftpd.conf — The configuration file for vsftpd. Refer to
"vsftpd Configuration Options"
• /etc/vsftpd.ftpusers — A list of users not allowed to log into vsftpd. By default, this list
includes the root, bin, and daemon users, among others.
• /etc/vsftpd.user_list — This file can be configured to either deny or allow access to the
users listed, depending on whether the userlist_deny directive is set to YES (default) or NO in /
etc/vsftpd/vsftpd.conf. If /etc/vsftpd.user_list is used to grant access to users, the
usernames listed must not appear in /etc/vsftpd.ftpusers.
• /var/ftp/ — The directory containing files served by vsftpd. It also contains the /var/ftp/
pub/ directory for anonymous users. Both directories are world-readable, but writable only by the
root user.

23.4. Starting and Stopping vsftpd

The vsftpd RPM installs the /etc/rc.d/init.d/vsftpd script, which can be accessed using the
/sbin/service command.
To start the server, as root type:
/sbin/service vsftpd start
To stop the server, as root type:
/sbin/service vsftpd stop
The restart option is a shorthand way of stopping and then starting vsftpd. This is the most
efficient way to make configuration changes take effect after editing the configuration file for vsftpd.
To restart the server, as root type:
/sbin/service vsftpd restart
The condrestart (conditional restart) option only starts vsftpd if it is currently running. This option
is useful for scripts, because it does not start the daemon if it is not running.
To conditionally restart the server, as root type:
/sbin/service vsftpd condrestart
Section 43.4, "Pluggable Authentication Modules
for a list of important options contained within this file.
Starting and Stopping vsftpd
Section 23.4, "Starting and Stopping vsftpd"
(PAM)".
Section 23.5,
365

Advertisement

Table of Contents
loading

Table of Contents