Friday, May 28, 2021

How to recover the deleted vsftpd configuration file

Solution to recover the deleted configuration file of vsftpd


While learning to the server configuration you have to write many code to the configuration file in linux server. It is better to do backup before editing the configuration file. But sometimes we forget to do back up the configuration file and start configuring and cause to an error and we need to get the default configuration file  or somehow it get deleted .

To get the configuration file of ftp server i.e vsftpd.conf file back you have remove the vsftpd and install again.

To remove vsftpd

sudo apt-get remove vsftpd --purge 

To Install vsftdp

sudo apt-get install vsftpd


Note : Simply removing and installing again does not recover the configuration file .

No comments:

Post a Comment

Top Five Browser

1 . Brave Browser Brave  Browser   is one of the best browser in the list even it is similar to all other browser because it has one of ...