I tried to configure ftp using kwuftpd, but can't access from other pc !!??

Posted on 2001-08-27
Last Modified: 2012-05-04

I have a LAN network with :-
-- one Cisco5505 switch
-- one PC running Redhat 7.1 as server (
-- four PC running Windows NT 4.0 ( to

I have configured then linux (just know a little) using kwuftpd. IP =

Now I try to login from one of the PC (say,

ftp> open
Connected to
220 FTP server <Versionwu-2.6.1-16> ready.
User <<none>>: shchong2
331 Password required for shchong2.
Password: ******
530 Login incorrect.
Login failed.

(p/s : I have an account as "shchong2" in the Linux redhat)

Pls kindly tell me what is wrong with my configuration ?
What do I need to change ?
Anything important that I've missed out ?

Thankx for your kindness
Question by:shchong2
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

ID: 6428696
Also when I tried using "ftp" or "anonymous", it failed too

ftp> open
Connected to
220 FTP server <Versionwu-2.6.1-16> ready.
User <<none>>: ftp
331 Guest login ok, send your complete e-mail address as password.
530 Login incorrect.
Login failed.

Expert Comment

ID: 6433775
First of all make sure all ftpd proc's are closed
ps ax|grep ftpd
then do /sbin/init.d/inetd restart if in.ftpd is started from the INETD service

Make sure your user is NOT listed in the
/etc/ftpusers file. Users listed there may NOT log on to the system

Make sure your /etc/hosts.allow contains nothing to hinder your login
(typical in.ftpd: ALL EXCEPT root@)

If that does not help try starting the daemon with
in.ftpd -d -D; tail -f /var/log/messages
This will start the FTP server in debug mode and cat the file for debugmessages

Accepted Solution

moonbeam012200 earned 200 total points
ID: 6435379
I suggest you take a look at your /etc/ftp* configurations. The /etc/ftpusers file specifies which users are *not* allowed ftp access. General ftp access is controlled via the ftpaccess file. To allow for just normal users access you want to configure it like this:

class   local   real *.domain

My ftpaccess is config is like this:

root@sebastian:/etc# cat ftpaccess
loginfails 2

class   local   real,guest,anonymous *.domain
class   remote  real,guest,anonymous *

limit   local   20  Any                 /etc/msgs/msg.toomany
limit   remote  100 SaSu|Any1800-0600   /etc/msgs/msg.toomany
limit   remote  60  Any                 /etc/msgs/msg.toomany

readme  README*    login
readme  README*    cwd=*

message /welcome.msg            login
message .message                cwd=*

compress        yes             local remote
tar             yes             local remote

# allow use of private file for SITE GROUP and SITE GPASS?
private         yes

# passwd-check  <none|trivial|rfc822>  [<enforce|warn>]
passwd-check    rfc822  warn

log commands real
log transfers anonymous,real inbound,outbound
shutdown /etc/shutmsg

# all the following default to "yes" for everybody
delete          no      guest,anonymous         # delete permission?
overwrite       no      guest,anonymous         # overwrite permission?
rename                  no              guest,anonymous                 # rename permission?
chmod           no      anonymous               # chmod permission?
umask           no      anonymous               # umask permission?

# specify the upload directory information
upload  /home/ftp  *             no
upload  /home/ftp  /incoming     yes     root    daemon  0600 dirs
upload  /home/ftp  /bin          no
upload  /home/ftp  /etc          no

# directory aliases...  [note, the ":" is not required]
alias   inc:    /incoming

# cdpath
cdpath  /incoming
cdpath  /pub
cdpath  /

# path-filter...
path-filter  anonymous  /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
path-filter  guest      /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-

# specify which group of users will be treated as "guests".
guestgroup ftponly

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question