linux下ftp连接:530 Permission denied
2012-08-02 10:16
176 查看
问题如下:
[root@localhost apps]# ftp 10.xxx.xxx.xxx
Connected to 10.xxx.xxx.xxx
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 (10.xxx.xxx.xxx:root): root
530 Permission denied.
Login failed.
ftp>
root被禁用,可以修改下面两个地方
[root@localhost media]# vi /etc/vsftpd/ftpusers
# 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/ftpusers" 15L, 126C written
[root@localhost media]# vi /etc/vsftpd/user_list
# 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
~
~
~
"/etc/vsftpd/user_list" 20L, 362C written
[root@localhost media]#
然后重启ftp:
#/sbin/service vsftpd restart
[root@localhost apps]# ftp 10.xxx.xxx.xxx
Connected to 10.xxx.xxx.xxx
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 (10.xxx.xxx.xxx:root): root
530 Permission denied.
Login failed.
ftp>
root被禁用,可以修改下面两个地方
[root@localhost media]# vi /etc/vsftpd/ftpusers
# Users that are not allowed to login via ftp
#root
bin
daemon
adm
lp
sync
shutdown
halt
news
uucp
operator
games
nobody
~
~
~
~
~
~
~
~
"/etc/vsftpd/ftpusers" 15L, 126C written
[root@localhost media]# vi /etc/vsftpd/user_list
# 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
~
~
~
"/etc/vsftpd/user_list" 20L, 362C written
[root@localhost media]#
然后重启ftp:
#/sbin/service vsftpd restart
相关文章推荐
- linux下ftp连接:530 Permission denied
- Linux中ftp连接530错误的解决方法
- Linux中ftp连接530错误的解决方法
- Linux中ftp连接530错误的解决方法
- linux下ftp连接:530 Permission denied
- LINUX 安装WDCP重启服务器后出现数据库和FTP连接不上
- 解决linux ftp连接速度慢的问题!
- linux中搭建ftp以root用户连接时500 OOPS: cannot change directory:/root报错
- 解决linux ftp连接速度慢的问题!
- linux下常用FTP命令 1. 连接ftp服务器
- linux搭建ftp服务——未连接mysql数据库的做法
- Linux启动ftp服务器530 Permission denied解决方法
- Linux关闭防火墙让FTP连接通畅
- Linux~连接windows的ftp,unzip出现的问题
- 解决ftp无法连接登录linux的办法
- linux下常用FTP命令 1. 连接ftp服务器
- Linux搭建FTP服务器、配置和实现简单通过客户端连接的例子
- ftp get/push连接到linux时,都是使用的linux命令
- ftp连接VMware下的Linux
- FlashFTP连接Linux相关配置