Open rsingh0706 opened 3 months ago
Service name: FTP service Port: 21 Usage description: FTP (File Transfer Protocol) is a standard network protocol used for the transfer of files from one host to another over a TCP-based network, such as the Internet. CLI: server vm installed
sudo apt update sudo apt install vsftpd sudo systemctl start vsftpd sudo systemctl enable vsftpd sudo systemctl status vsftpd
User: maya (File Uploader) (read/write) Aditya Singh (read-only)
config_files
/etc/vsftpd.conf /etc/vsftpd.conf.d/ local_enable=YES write_enable=YES chroot_local_user=YES sudo systemctl restart vsftpd ftp test the server
User Access = sudo echo ''maya'' | sudo tee -a /etc/vsftpd.userlist
sudo echo ''maya'' | sudo tee -a /etc/vsftpd.userlist
Error logs /var/log/vsftpd.log additional logs /var/log/syslog or /var/log/auth.log
/var/log/vsftpd.log
/var/log/syslog or /var/log/auth.log
sudo apt update sudo apt install lftp lftp user@ip server
commends use:- ls, put , get
Overview FTP
Service name: FTP service Port: 21 Usage description: FTP (File Transfer Protocol) is a standard network protocol used for the transfer of files from one host to another over a TCP-based network, such as the Internet. CLI:
server vm installed
User: maya (File Uploader) (read/write) Aditya Singh (read-only)
Path:
config_files
User Access =
sudo echo ''maya'' | sudo tee -a /etc/vsftpd.userlist
Error logs
/var/log/vsftpd.log
additional logs/var/log/syslog or /var/log/auth.log
Security Considerations: (research on it):
commends use:- ls, put , get