ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Linux开启FTP

Linux开启FTP

原创 Linux操作系统 作者:cbso520 时间:2011-01-12 10:04:32 0 删除 编辑

[root@RAC1 ~]# uname -a
Linux RAC1 2.6.9-89.0.28.ELsmp #1 SMP Fri Aug 20 16:11:59 EDT 2010 i686 i686 i386 GNU/Linux
[root@RAC1 ~]# service vsftpd start
u4e3a vsftpd u542fu52a8 vsftpduff1a500 OOPS: could not bind listening IPv4 socket
[ u786eu5b9a ]
[root@RAC1 ~]# service vsftpd stop
u5173u95ed vsftpduff1a [ u786eu5b9a ]
[root@RAC1 ~]# service vsftpd start
u4e3a vsftpd u542fu52a8 vsftpduff1a [ u786eu5b9a ]

编辑以下两个文件,重用FTP用户

[root@RAC1 ~]# ls /etc/*ftp*
/etc/lftp.conf /etc/vsftpd.ftpusers /etc/vsftpd.user_list

/etc/vsftpd:
vsftpd.conf
[root@RAC1 ~]# cat /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
[root@RAC1 ~]# cat /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

浏览器输入 ftp://ip/ 访问FTP

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/16298743/viewspace-1044504/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 生活是什么
下一篇: RAC实验结果
请登录后发表评论 登录
全部评论

注册时间:2008-11-12

  • 博文量
    72
  • 访问量
    312697