Mailinglist Archive: opensuse (3394 mails)

< Previous Next >
Re: [SLE] FTP refuses to login
  • From: dwj@xxxxxxxxxxxxx (Dwight Johnson)
  • Date: Wed, 29 Mar 2000 15:05:51 -0800 (PST)
  • Message-id: <Pine.LNX.4.10.10003291453170.28181-100000@xxxxxxxxxxxxxxxxxxxx>



Craig,

You have omitted from your new description the highly significant
information from your original help request mail that the _only_ two things
you changed from the time it did work to the time it didn't work were:

1) The IP address
2) The gateway address

Here is an experiment to try: what is the local IP address for the
server on your network? Suppose it is 192.168.1.2. Then try this from a
virtual console or xterm on the ftp server:

ftp 192.168.1.2

If this lets you log on as a user, the problem is between the ftp server
and the outside users trying to log in. If this doesn't let you log on as a
user, the problem is in the configuration on the ftp server.

On Wed, 29 Mar 2000, Craig Sharp wrote:

> Hello,
>
> Well I will try again with this question. Thanks to all who have been trying to help.
>
> I am running wu-ftpd.
>
> I have checked all logs for errors as well as using the -l option to wu-ftpd in the inetd.conf file. Nothing is showing up.
> I am able to login as anonymous to my ftp server. I am not able to login as a user even though the users can login via telnet with no problems.
> This appears to be a security problem.
>
> I receive the following error when trying to login as a normal user:
>
> 530 Login incorrect.
> Login failed
>
> Here is the ftpaccess file.
>
> # email of the responsible person for the %E-cookie
> email ftp-admin@localhost
>
> #
> # if you specify a list of hosts for the "local" class, only those
> # hosts will be allowed to login as "real". All other hosts can
> # only login as "anonymous".
> #
> class local real *
> class remote guest,anonymous *
>
> readme README* login
> readme README* cwd=*
>
> # limit of 20 connections
> limit local 20 Any /usr/local/ftp/msgs/msg.dead
> limit remote 20 Any /usr/local/ftp/msgs/msg.dead
>
> #
> # output /usr/local/ftp/msgs/welcome.msg on login
> # and all ".message" files in subdirectories
> #
> banner /usr/local/ftp/msgs/welcome.msg
> message .message cwd=*
>
> #message /msgs/welcome.msg login
> #message /usr/local/ftp/msgs/welcome.msg login local
> #message /msgs/welcome.msg login remote
>
> # do not check password for anonymous logins
> #passwd-check rfc822 warn
> passwd-check none
>
> # allow compression/tar for all users
> compress yes local remote
> tar yes local remote
>
> # log all transfers
> #log commands real
> log transfers anonymous,real inbound,outbound
>
> #shutdown /etc/shutmsg
>
> # do not give those files. do not give "core"-files in any directory.
> noretrieve /etc/passwd /etc/group core .notar
> noretrieve /usr/local/ftp/incoming
>
> # do not allow these commands for anonymous users
> chmod no guest,anonymous
> delete no guest,anonymous
> overwrite no guest,anonymous
> rename no guest,anonymous
> umask no guest,anonymous
>
> #
> # !! see documentation how to setup uploads for anonymous users !!
> #
> # specify the upload directory information
> upload /usr/local/ftp * no nobody nogroup 0000
> nodirs
> upload /usr/local/ftp /bin no
> upload /usr/local/ftp /etc no
> #upload /usr/local/ftp /incoming yes root daemon 0600
> nodirs
>
> # path-filter...
> #path-filter anonymous /msgs/pathmsg ^[-A-Za-z0-9_\.]*$ ^\. ^-
> #path-filter guest /msgs/pathmsg ^[-A-Za-z0-9_\.]*$ ^\. ^-
>
> # specify which group of users will be treated as "guests".
> #guestgroup ftponly
>
> Thanks,
>
> Craig
>
>
>
> --
> To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
>

Dwight

--
Dwight Johnson
dwj@xxxxxxxxxxxxx

--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/


< Previous Next >
References