lomg 发表于 2015-5-27 12:59:14

打开Linux ftp服务,如:vsftpd: unrecognized service

  # service vsftpd start
vsftpd: unrecognized service
#
  编写:
vi   /etc/xinetd.d/gssftp把disable=yes改成no,然后打开ftp服务
  把server_args   = -l -a改成server_args   = -l把 -a 去掉,这样系统的用户才有权限用ftp登陆
  
#
# service xinetd restart
Stopping xinetd:                                          
Starting xinetd:                                          
  查看21端口:
# netstat -tnl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State   
tcp      0      0 127.0.0.1:2208            0.0.0.0:*                   LISTEN   
tcp      0      0 0.0.0.0:11111               0.0.0.0:*                   LISTEN   
tcp      0      0 192.168.70.20:21064         0.0.0.0:*                   LISTEN   
tcp      0      0 0.0.0.0:111               0.0.0.0:*                   LISTEN   
tcp      0      0 0.0.0.0:16851               0.0.0.0:*                   LISTEN   
tcp      0      0 0.0.0.0:852               0.0.0.0:*                   LISTEN   
tcp      0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN
页: [1]
查看完整版本: 打开Linux ftp服务,如:vsftpd: unrecognized service