Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 2015 15:25:51 -0700
From:      "Chris H" <bsd-lists@bsdforge.com>
To:        <freebsd-current@freebsd.org>
Subject:   Re: r286615: /usr/libexec/ftpd broken!
Message-ID:  <9e34872194decc132ce612b660d3c921@ultimatedns.net>
In-Reply-To: <20150814134533.690e2091@freyja.zeit4.iv.bundesimmobilien.de>
References:  <20150811074041.6700e943@freyja.zeit4.iv.bundesimmobilien.de> <20150811104451.2031fff2@freyja.zeit4.iv.bundesimmobilien.de> <CABh_MKm9tD=Fa1MZTGLUkF=MF7y%2Bf8Oy6n3oy5Ty93pWrBohHA@mail.gmail.com>, <20150814134533.690e2091@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 14 Aug 2015 13:45:33 +0200 "O. Hartmann" <ohartman@zedat.fu-berlin.de>
wrote

> On Tue, 11 Aug 2015 13:18:14 +0200
> Ed Schouten <ed@nuxi.nl> wrote:
> 
> > Hi there,
> > 
> > 2015-08-11 10:44 GMT+02:00 O. Hartmann <ohartman@zedat.fu-berlin.de>:
> > > ftpd starts sometimes, sporadically, and dies somewhere in the process.
> > > Connections to the ftpd aren't possible. Sockstat doesn't even show up a
> > > TCP/IP socket (21, ftp/tcp) where the daemon is supposed to listen for
> > > incoming connection - I see only udp4 (connecting to
> > > local_unbound/127.0.0.1:53). This is strange ...
> > 
> > That's annoying. We should fix that.
> > 
> > I recently made some changes to shutdown(2), but a grep reveals that
> > ftpd doesn't call that function anywhere. Phew! The last changes made
> > to ftpd are related to libxo. Adding marcel@, just to be sure.
> > 
> > In the meantime, could you maybe run truss(8) over ftpd and send us the
> > output?
> > 
> > Thanks,
> 
> I have real issues understanding FreeBSD's ftpd!
> 
> Man page "ftpusers(5)" states, that an entry "username allow" will allow
> access to ftpd. But every user listed in /etc/ftpusers is denied access, no
> matter whether there is "allow" appended to the entry or not! This is
> strange. Whenever I delete a user's name from that file I wish to have access
> to the ftpd service, that user can login - but addig the users even as
> "username allow" (no * in the file, nothing else but the initial users names)
> access is denied.
> 
> I managed so far to start the ftpd via inetd - the service running
> from /etc/rc.conf is still impossible. But operations, not even a simple
> "ls", are possible since the service dies ...
> 
> Either I'm some kind of dull and do not understand this brillant peice of
> software, or there is something really fishy.

This may have already been answered, but...

A quick examination at the top of /etc/ftpusers reveals:

# $FreeBSD: ... $
#
# list of users disallowed any ftp access.
# read by ftpd(8).


FWIW

--Chris
> 
> regards and nice weekend,
> 
> oh
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9e34872194decc132ce612b660d3c921>