- 论坛徽章:
- 0
|
- debian:/home/ftp# /etc/init.d/vsftpd restart
- Restarting FTP server: vsftpdNo /usr/sbin/vsftpd found running; none killed.
复制代码 PS:- debian:/home/ftp# ps -xf |grep ftp
- Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
- 3974 pts/0 R+ 0:00 \_ grep ftp
- debian:/home/ftp# ps -ef |grep ftp
- root 3976 3719 0 03:40 pts/0 00:00:00 grep ftp
复制代码 vsftpd.conf:- listen=YES
- anonymous_enable=NO
- Local_enable=YES
- Write_enable=YES
- Chroot_local_user=YES
- local_umask=022
- connect_form_port_20=YES
- xferlog_enable=YES
- xferlog_file=/var/log/vsftpd.log
- pam_service_name=/etc/pam.d/vsftpd
复制代码 用户:- #gruopadd ftpuser
- #useradd -g ftpuser -d /home/ftp gongxiang
- #chmod 755 /home/ftp
复制代码 重装了,还是一样错误:- #apt-get remove vsftpd
- #reboot
- #apt-get install vsftpd
复制代码 Debian:- debian:/home/ftp# gcc --version
- gcc (Debian 4.3.2-1.1) 4.3.2
- Copyright (C) 2008 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- debian:/home/ftp# lsb_release -a
- No LSB modules are available.
- Distributor ID: Debian
- Description: Debian GNU/Linux 5.0.7 (lenny)
- Release: 5.0.7
- Codename: lenny
复制代码 |
|