1,權限不足
220 (vsFTPd 2.0.5)
USER root
530 Permission denied.
QUIT
2,密碼無法識别,其實是root使用者不讓進入
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
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
隻要用#注釋掉使用者root,就可以讓root成功連接配接ftp