Linux: FTP Profile

Linux: FTP Profile

1) Service profile: [FTP]

 FTP stands for File Transfer Protocol. It is used to transfer files between computers on a network.

Package name : 

Vsftpd-*

Service name :

vsftpd

port:

20,21(default)

Configuration file:

/etc/vsftpd/vsftpd.conf [main], /etc/vsftpd/ftpusers etc.

2) Verifying whether ftp package installed on my machine or not

 # rpm -qa | grep vsftpd-*

 3) Check whether anonymous access is enable or not:

 If ftp package is installed check the configuration file [ vsftpd.conf ] exist or not in line number 12

 # ls /etc/vsftpd/

 Default FTP directory location is:

 /var/ftp/pub.

Create a file under pub folder named test and write something in it. 

 4) If exist, start and enable vsftpd service.

# systemctl start vsftpd ; [ For instant start but not permanent ]

# systemctl enable vsftpd ; [ For permanent start ]

Note: Doing any changes in ftp configuration file or in ftp default directory folder you should restart the service to have the effect.

 # systemctl restart vsftpd

5) Verify whether you can reach to your ftp server from browser

If your IP is 192.168.1.11 [example], then you can try to verify whether you can reach to your ftp server from browser:

ftp://192.168.1.11

If not check or configure firewall for FTP service.

# firewall-cmd --add-service=ftp --permanent

# firewall-cmd --reload

 

 



Md. Masud Rana Suman

Md. Masud Rana Suman

I am Microsoft Certified Professional(MCP), Microsoft Certified Solution Associate:Windows Server 2012. ‏‏‎ <br/> <br/> Providing IT support from the year 2013, Which includes Operating System(Windows) support, Networking Services, WHM (Web Hosting Manager) support, WEB Hosting and Domain Name Registration services, Email Server configuration, Information Management Services, Data Recovery, Social Media Marketing, Trainer and many more...

Comments 0


There are no comments yet.
Your message is required.

linux-runlevels

LINUX Runlevels

sumanbd77 | 03/25/2020 00:30
spoofing

Spoofing

rbillah | 02/09/2020 22:52