ftp启动后,无法登录,救我
rman
|
1#
rman 发表于 2002-07-11 17:50
ftp启动后,无法登录,救我
wu-ftpd启动后,普通用户不能登录
RH7.1, wu-ftpd启动后,无防火墙 [root@zlnx /etc]# chkconfig --list atd 0ff 1ff 2ff 3n 4:on 5:on 6:off rwhod 0:off 1:off 2:off 3:off 4:off 5:off 6:off keytable 0:off 1:on 2:on 3:on 4:on 5:on 6:off nscd 0:off 1:off 2:off 3:off 4:off 5:off 6:off syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off gpm 0:off 1:off 2:on 3:on 4:on 5:on 6:off kudzu 0:off 1:off 2:off 3:on 4:on 5:on 6:off kdcrotate 0:off 1:off 2:off 3:off 4:off 5:off 6:off lpd 0:off 1:off 2:on 3:on 4:on 5:off 6:off autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off rhnsd 0:off 1:off 2:off 3:off 4:off 5:off 6:off netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off network 0:off 1:off 2:on 3:on 4:on 5:on 6:off random 0:off 1:off 2:on 3:on 4:on 5:on 6:off rawdevices 0:off 1:off 2:off 3:on 4:on 5:on 6:off apmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off ipchains 0:off 1:off 2:on 3:on 4:on 5:off 6:off iptables 0:off 1:off 2:on 3:on 4:on 5:off 6:off identd 0:off 1:off 2:off 3:off 4:off 5:off 6:off portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off anacron 0:off 1:off 2:on 3:on 4:on 5:on 6:off xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off isdn 0:off 1:off 2:on 3:on 4:on 5:off 6:off ypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off sshd 0:off 1:off 2:on 3:on 4:on 5:off 6:off rstatd 0:off 1:off 2:off 3:off 4:off 5:off 6:off rusersd 0:off 1:off 2:off 3:off 4:off 5:off 6:off rwalld 0:off 1:off 2:off 3:off 4:off 5:off 6:off xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off yppasswdd 0:off 1:off 2:off 3:off 4:off 5:off 6:off ypserv 0:off 1:off 2:off 3:off 4:off 5:off 6:off postgresql 0:off 1:off 2:off 3:off 4:off 5:off 6:off httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off tux 0:off 1:off 2:off 3:off 4:off 5:off 6:off arpwatch 0:off 1:off 2:off 3:off 4:off 5:off 6:off linuxconf 0:off 1:off 2:on 3:on 4:on 5:on 6:off smb 0:off 1:off 2:off 3:off 4:off 5:off 6:off xinetd based services: rexec: off rlogin: off rsh: off chargen: on chargen-udp: on daytime: on daytime-udp: on echo: on echo-udp: on time: on time-udp: on finger: off ntalk: off talk: off telnet: on wu-ftpd: on rsync: off linuxconf-web: off [root@zlnx /etc]# 然后把 /etc/ftpusers 清空了,ftpaccess没动 [root@zlnx /etc]# cat ftpusers # The ftpusers file is deprecated. Use deny-uid/deny-gid in ftpaccess. [root@zlnx /etc]# cat ftpaccess # This file controls the behavior of the wu-ftpd # ftp server. # # If you're looking for a graphical frontend to # editing it, try kwuftpd from the kdeadmin # package. # Don't allow system accounts to log in over ftp deny-uid %-99 %65534- deny-gid %-99 %65534- allow-uid ftp rman allow-gid ftp users rman # The ftpchroot group doesn't exist by default, this # entry is just supplied as an example. # To chroot a user, modify the line below or create # the ftpchroot group and add the user to it. # # You will need to setup the required applications # and libraries in the root directory (set using # guest-root). # # Look at the anonftp package for the files you'll need. # guestgroup ftpchroot # User classes... class all real,guest,anonymous * # Set this to your email address email root@localhost # Allow 5 mistyped passwords loginfails 2 # Notify the users of README files at login and when # changing to a different directory readme README* login readme README* cwd=* # Messages displayed to the user message /welcome.msg login message .message cwd=* # Allow on-the-fly compression and tarring compress yes guest,real,anonymous tar yes guest,real,anonymous # Prevent anonymous users (and partially guest users) # from executing dangerous commands chmod no guest,anonymous delete no guest,anonymous overwrite no guest,anonymous rename no guest,anonymous # Turn on logging to /var/log/xferlog log transfers guest,real,anonymous inbound,outbound # If /etc/shutmsg exists, don't allow logins # see ftpshut man page shutdown /etc/shutmsg # Ask users to use their email address as anonymous # password passwd-check rfc822 warn timeout accept 240 timeout connect 240 chmod yes real delete yes real overwrite yes real rename yes real [root@zlnx /etc]# 然后, [root@zlnx /etc]# ftp localhost Connected to localhost.localdomain. 220 zlnx FTP server (Version wu-2.6.1-16) ready. Name (localhost:rman): rman 331 Password required for rman. Password: 530 Login incorrect. Login failed. ftp> bye 221-You have transferred 0 bytes in 0 files. 221-Total traffic for this session was 227 bytes in 0 transfers. 221 Thank you for using the FTP service on zlnx.huawei.com.cn. [root@zlnx /etc]# 请各位大侠救命! |