Date: Sat, 31 Jan 2004 08:27:49 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Robert Storey <y2kbug@ms25.hinet.net> Cc: freebsd-questions@freebsd.org Subject: Re: anonymous ftp Message-ID: <20040131082749.GA90770@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040131104912.277716dc.y2kbug@ms25.hinet.net> References: <20040131104912.277716dc.y2kbug@ms25.hinet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--2oS5YaxWCcQjTEyO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Jan 31, 2004 at 10:49:12AM +0800, Robert Storey wrote:
> I'm setting up an anonymous ftp server. I understand that a user named
> "ftp" can log in without a password, and that "anonymous" is an alias
> for user ftp. What I'm wondering is if it is possible to assign other
> aliases for ftp, let us say user "aardvark" or "scary.daemon" whatever?
> How would I go about doing that?
It depends on which FTP server software you're using. For the
built-in ftpd, see ftpd.conf(5), ftpusers(5) and ftpchroot(5) --- but
basically you need something like this:
/etc/ftpusers:
root
toor
daemon
operator
bin
tty
kmem
games
news
man
sshd
bind
uucp
xten
pop
www
nobody
mailnull
smmsp
# UIDs for anonymous FTP
aardvark allow guest
scary.daemon allow guest
That's all you need, but if you want to make the FTP session chroot to
some other directory, or make the FTP daemon display various messages
when the user logs in, use /etc/ftpd.conf and /etc/ftpchroot as well.=20
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
--2oS5YaxWCcQjTEyO
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFAG2cFdtESqEQa7a0RAllgAJ94r/oOQpZsIB6DA/P3OLtlTGp/kQCfc0PO
EB6gsPlvE2fxX3nlrhvkLOI=
=OIbA
-----END PGP SIGNATURE-----
--2oS5YaxWCcQjTEyO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040131082749.GA90770>
