For educational purposes, I am attempting to create a vulnerable service on an Ubuntu 20.04 server by installing vsftpd 2.3.4. Since the version is outdated, I am configuring everything manually.
Initially, I created the /etc/vsftp.conf file and assigned it permissions of 644 and the root property.
The folder vsftpd-2.3.4 containing the followers was moved to /usr/sbin/ and assigned permissions of 755 with root as the owner.
Finally, I edited the /etc/systemd/system/vsftpd.service file as follows:
[Unit]Description=vsftpd FTP serverAfter=network.target[Service]Type=simpleExecStart=/usr/sbin/vsftpd-2.3.4 /etc/vsftpd.confRestart=on-abort[Install]WantedBy=multi-user.target
After running the code below :sudo systemctl daemon-reload
sudo systemctl start vsftpd
sudo systemctl status vsftpd
I get:enter image description here
Do you have any suggestions for solving the problem?