Ln -s ' /usr/lib/systemd/system/rvice' ' /etc/systemd/system//rvice' > Package iptables.x86_64 0:1.4.21-16.el7 will be an updateĬomplete! ~]# systemctl mask firewalld ~]# systemctl enable iptables > Processing Dependency: iptables = 1.4.21-16.el7 for package: iptables-services-1.4.86_64 Loading mirror speeds from cached hostfile Make sure that you execute these commands on your FTP server and not in ftp clients. Install a graphical FTP client called Filezilla to access FTP server.įirst, enter the following commands to disable firewalld, and to enable iptables for easy access of filezilla. ~]$ logout Access FTP Server Via FileZilla Passwd: all authentication tokens updated successfully.Ĭonnect to FTP server with the user “ abc”. ~]# useradd abc ~]# passwd abcīAD PASSWORD: The password is shorter than 8 characters Root user is not allowed to login into ftp server for security purpose. ~]# setsebool -P ftp_home_dir on ~]# To Create FTP users Then, update the SELinux boolean values for FTP service as shown below. ~]# firewall-cmd -permanent -add-service=ftp ~]# firewall-cmd -permanent -add-port=21/tcp ~]# ~]# systemctl start vsftpdĪllow the ftp service and port 21 via firewall. Then enable and start the vsftpd service. # Uncomment - Enter your Welcome message - This is optional #įtpd_banner=Welcome to UNIXMEN FTP service. ~]# vim /etc/vsftpd/nfĪnd edit it as follows. Run the following command to install vsftpd package.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |