Sunday, 7 January 2018

How to install FTP and Create User.

install vsftpd package using yum command 

yum install vsftpd ftp -y

Then open .conf file

vim /etc/vsftpd/vsftpd.conf

Output:-

[...]
## Disable anonymous login ##
anonymous_enable=NO (Change it to YES)

## Uncomment ##
ascii_upload_enable=YES
ascii_download_enable=YES

## Uncomment - Enter your Welcome message - This is optional ##
ftpd_banner=Welcome to UNIXMEN FTP service.

## Add at the end of this  file ##
use_localtime=YES

Save the file and restart ftp service 

systemctl enable vsftpd
systemctl start vsftpd

How to add FTP user 

useradd user
passwd user

Then FTP from any other sysytem :-


ftp 192.168.1.101

output:-

Connected to 192.168.1.101.
220 Welcome to UNIXMEN FTP service.
Name (192.168.1.101:user): user
331 Please specify the password.

No comments:

Step-by-step OpenLDAP Installation and Configuration on server

This tutorial describes how to install and configure an OpenLDAP server and also an OpenLDAP client. Step by Step Installation and Conf...