ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Linux RedHat ftp配置

Linux RedHat ftp配置

原创 Linux操作系统 作者:yezhibin 时间:2010-09-14 11:13:34 0 删除 编辑
     刚在机器上安装了RadHat 5,并安装了11.2,10.2,9.2三个版本数据库用于测试,

配置了ftp便于上传文件,配置ftp步骤如下:

   1、检查ftp进程,并启动
          #ps -ef |grep ftp
          #service vsftpd start
 
    2、相关配置文件
          /etc/vsftpd/vsftpd.conf : 参数配置文件
 
          /etc/vsftpd.user_list: 
              如果参数配置文件中userlist_enable=yes
                                                  userlist_deny=yes
               则加入该文件的用户无法登陆
 
           /etc/vsftpd.ftpuser: 加入该文件用户无法登陆

           /etc/vsftpd.chroot_list:
              如果参数文件中设置chroot_list_enable=YES, chroot_list_file,

             则登陆用户只能在自己的目录中活动。

    3、用户登陆出现如下错误
          500 OOPS: cannot change directory:/ye
          500 OOPS: child died
          远程主机关闭连接。

        检查:
          #getsebool ftpd_disable_trans
             ftpd_disable_trans--> off
      
         开启:
           #setsebool ftpd_disable_trans 1

        永久性开启
           #setsebool -P ftpd_disable_trans 1



      

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

请登录后发表评论 登录
全部评论

注册时间:2008-12-18

  • 博文量
    159
  • 访问量
    559686