anonymous ftp
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sat Jan 31 00:27:59 PST 2004
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.
Cheers,
Matthew
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040131/624994c0/attachment-0001.bin
More information about the freebsd-questions
mailing list