歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> linux telnet及vsftpd配置

linux telnet及vsftpd配置

日期:2017/3/1 14:51:49   编辑:關於Linux
linux telnet及vsftpd配置 1.查看telnet安裝包 Java代碼 [root@localhost ~]# rpm -aq | grep telnet telnet-0.17-39.el5 telnet-server-0.17-39.el5 沒有看到結果請安裝telent-server服務 2.修改安全配置文件 mv /etc/securetty /etc/securetty.bak 3.重啟xinetd服務 service xinetd restart vsftpd配置 1.查看vsftpd安裝包 rpm -aq | grep vsftpd 沒有看到結果請安裝vsftpd服務 2.修改/etc/vsftpd/ftpusers Java代碼 # Users that are not allowed to login via ftp #root --注釋掉 bin daemon adm lp sync shutdown halt mail news uucp operator games nobody 修改/etc/vsftpd/user_list Java代碼 # vsftpd userlist # If userlist_deny=NO, only allow users in this file # If userlist_deny=YES (default), never allow users in this file, and # do not even prompt for a password. # Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers # for users that are denied. #root --注釋掉 bin daemon adm lp sync shutdown halt mail news uucp operator games nobody 3.重啟vsftp服務 service vsftpd restart 4.測試ftp服務 Java代碼 [root@localhost vsftpd]# ftp localhost Connected to localhost.localdomain. 220 (vsFTPd 2.0.5) 530 Please login with USER and PASS. 530 Please login with USER and PASS. KERBEROS_V4 rejected as an authentication type Name (localhost:root): root 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp>
Copyright © Linux教程網 All Rights Reserved