Go Premium for a chance to win a PS4. Enter to Win

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 782
  • Last Modified:

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


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 owen1.icel.com 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
1 Solution
shchong2Author Commented:
Also when I tried using "ftp" or "anonymous", it failed too

ftp> open
Connected to
220 owen1.icel.com FTP server <Versionwu-2.6.1-16> ready.
User <<none>>: ftp
331 Guest login ok, send your complete e-mail address as password.
Password: sample111@yahoo.com
530 Login incorrect.
Login failed.
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
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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now