Linux中的vsftpd
場景:碰到的情況,自己搭建一個linux伺服器,想用LeapFTP連線到伺服器的ip,但是碰到了兩個錯誤
1,許可權不足
220 (vsFTPd 2.0.5)
USER root
530 Permission denied.
QUIT
USER root
530 Permission denied.
QUIT
2,密碼無法識別,其實是root使用者不讓進入
USER root
331 Please specify the password.
PASS xxxxxx
530 Login incorrect.
331 Please specify the password.
PASS xxxxxx
530 Login incorrect.
vsftpd是一個安全很高的ftp軟體包
裡面的有兩個配置檔案
ftpusers和user_list
[root@www vsftpd]# cat ftpusers;
# Users that are not allowed to login via ftp(這裡呈現哪些使用者不能進入ftp)
#root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody
[root@www vsftpd]#
# Users that are not allowed to login via ftp(這裡呈現哪些使用者不能進入ftp)
#root
bin
daemon
adm
lp
sync
shutdown
halt
news
uucp
operator
games
nobody
[root@www vsftpd]#
[root@www vsftpd]# cat user_list(這裡是user進入的許可權檔案)
# 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
[root@www vsftpd]#
# 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
news
uucp
operator
games
nobody
[root@www vsftpd]#
只要用#註釋掉使用者root,就可以讓root成功連線ftp
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26446098/viewspace-721771/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- LINUX中運用VSFTPD的高手篇(轉)LinuxFTP
- linux VSFTPDLinuxFTP
- linux vsftpdLinuxFTP
- Linux中Vsftpd服務的部署及優化LinuxFTP優化
- [Linux] vsftpd配置LinuxFTP
- centos/linux下的安裝vsftpdCentOSLinuxFTP
- Linux vsftpd的簡單配置方法LinuxFTP
- linux vsftpd 服務配置LinuxFTP
- linux上安裝配置vsftpdLinuxFTP
- Linux伺服器---安裝vsftpdLinux伺服器FTP
- 在Linux 上配置vsftpd-2.0.1LinuxFTP
- Linux下vsftpd的配置檔案的引數詳解LinuxFTP
- Linux下FTP環境部署梳理(vsftpd和proftpd)LinuxFTP
- VSFTPD 引數知多少(linux FTP 引數)FTPLinux
- vsftpd的安全設定FTP
- VSFTPD的配置選項FTP
- VSFTPD的基本配置(轉)FTP
- vsftpd experimentFTP
- linux VSFTPD 一步一步安裝LinuxFTP
- vsftpd中遇到500 OOPS: cannot change directory的解決方案FTPOOP
- Centos8中使用VSFTPD配置FTPsCentOSFTP
- 【linux運維】Linux伺服器玩轉vsftpd安裝與配置Linux運維伺服器FTP
- Linux Linux服務端 rpm方式安裝(vsftpd)(FTP)軟體Linux服務端FTP
- 重啟vsftpdFTP
- vsftpd 小結FTP
- 設定vsftpdFTP
- ubuntu 14.04中開啟vsftpd服務步驟UbuntuFTP
- Linux下vsftpd+mysql虛擬使用者作法(轉)LinuxFTPMySql
- vsftpd的三種實現方法FTP
- vsftpd-1.1.3配製檔案vsftpd.conf(轉)FTP
- VSFTPD錯誤的解決 500 OOPS: vsftpd: cannot locate user specified in ftp_usernaFTPOOP
- Xmanager4遠端連線linux圖形介面(vsftpd配置)LinuxFTP
- Linux雲端計算-07_Linux檔案伺服器之vsftpd伺服器Linux伺服器FTP
- vsftpd基於mysql的認證方式FTPMySql
- vsftpd服務的歸納總結FTP
- vsftpd筆記後的實驗薦FTP筆記
- redhat vsftpd及vsftpd 500 OOPS: cannot change directory錯誤解決RedhatFTPOOP
- docker搭建vsftpd服務DockerFTP