How To Start / Stop / Restart / Enable / Reload The vsftpd Service In Linux?

systemd is a new system and service manager for Linux system, which was implemented/adapted into all the major Linux distributions over the traditional SysV init systems due to lots of issue/improvement has to be on SysVinit systems.

All the service files are available on /etc/init.d/ directory for SysVinit system.

For systemd system, the service files are available on /usr/lib/systemd/system/ directory.

If you would like to perform any kind of actions like start, stop, restart, enable, reload & status against the specific service then use the following commands.

Make sure that you should have admin privileges to run these commands except status command. It should be root or sudo permission needed to run the below commands.

What Is vsftpd?

vsftpd stands for very secure FTP daemon. It is secure, stable and extremely fast. If you want to setup complicated FTP and it can be achievable with vsftpd.

Its ability to handle large numbers of connections efficiently and securely.

vsftpd is the default FTP server in most of the Linux distributions such as Redhat (RHEL), CentOS, Ubuntu, Debian, Fedora, openSUSE, etc,.

vsftpd support many features such as Virtual IP configurations, Virtual users, Standalone or inetd operation, Powerful per-user configurability, Bandwidth throttling, Per-source-IP configurability, Per-source-IP limits, IPv6 and Encryption support through SSL integration.

1) How To Start The vsftpd Service In Linux?

Use the below commands to start the vsftpd server in Linux.

For SysVinit Systems

# service vsftpd start
or
# /etc/init.d/vsftpd start

For systemd Systems

# systemctl start vsftpd
or
# systemctl start vsftpd.service

2) How To Stop The vsftpd Service In Linux?

Use the below commands to stop the vsftpd server in Linux.

For SysVinit Systems

# service vsftpd stop
or
# /etc/init.d/vsftpd stop

For systemd Systems

# systemctl stop vsftpd
or
# systemctl stop vsftpd.service

3) How To Restart The vsftpd Service In Linux?

Use the below commands to restart the vsftpd server in Linux.

For SysVinit Systems

# service vsftpd restart
or
# /etc/init.d/vsftpd restart

For systemd Systems

# systemctl restart vsftpd
or
# systemctl restart vsftpd.service

4) How To Reload The vsftpd Service In Linux?

Use the below commands to reload the vsftpd server in Linux.

For SysVinit Systems

# service vsftpd reload
or
# /etc/init.d/vsftpd reload

For systemd Systems

# systemctl reload vsftpd
or
# systemctl reload vsftpd.service

5) How To View The vsftpd Service Status In Linux?

Use the below commands to view the vsftpd server status in Linux.

For SysVinit Systems

# service vsftpd status
or
# /etc/init.d/vsftpd status

For systemd Systems

# systemctl status vsftpd
or
# systemctl status vsftpd.service

6) How To Enable The vsftpd Service On Boot In Linux?

Use the below commands to enable the vsftpd server on boot in Linux.

For SysVinit Systems

# chkconfig vsftpd on

For systemd Systems

# systemctl enable vsftpd
or
# systemctl enable vsftpd.service

The default configuration file is located at /etc/vsftpd.conf.

/etc/vsftpd/vsftpd.conf

For All service commands View More

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...