> I was trying wu-ftpd but it�s meant for use with AmiTCP, although
> it seems to me to be the only free usable daemon. I read the docu
> but it�s confusing me. I don�t know how to set it up.
> May I ask whether you can send me your settings, please? :-)
Andreas,
Although wu-ftpd was made for amitcp it seems
to work fine under Miami. I had an old directory
set up for amitcp, so I put the files for wu-ftp
in the appropriate amitcp:db and amitcp:serv
directories. Miami has no trouble working with
this arrangement.
MiamiDX wu-ftpd settings and setup:
put wu-ftpd in amitcp:serv, named ftpd
set InetD database settings in Miami to:
service socket protocol wait user
ftp stream tcp nowait root
server name
amitcp:serv/ftpd in.ftpd
set up the other 'ftpbanner' files and others
as directed in the wu-ftp documentation. The ftp.welcome
can be anywhere you specify in ftpaccess. It simply prints
a message of your choice of ASCII text when a user logs
on.
You don't reall need
all of the extra files such as the ftpcount etc. wu-ftpd will
still work without them.
------------------------------------------------------
To allow anonymous ftp users in Miami, set, in Miami's
database 'users' section:
user name ftp
no password (should be set to a "-" mark)
User id for a seperate 'anonymous' group (for example, use any
unique user number for your anonymous user and make a group
in Miami's database GROUP section:
Group name: guest, Group id: 98, Users: root)
Real name: Anonymous FTP User
Home dir: your choice
Shell: shell
------------------------------------
It seems to work well for anonymous users and for myself
as system administrator. It seems to be less adaptable
to control file permissions for other users. I may not
have set things up quite right, but other users still
seem to be able to delete files and so on, and I can't
control these features completely. But it works well
enough for myself and for the very few people that I
want to allow access, whom I trust.
Here is my ftpaccess file in amitcp:db:
# ##########################################################
# maximum number of invalid logins before disconnection
loginfails 5
# user classes
class local real,guest,anonymous *.turbonet.com 0.0.0.0
class remote real,guest,anonymous *
# maximum number of users
limit local 2 Any AmiTCP:db/limit2.msg
limit remote 4 dickow|Any1800-0600 AmiTCP:db/limit4.msg
limit remote 2 Any AmiTCP:db/limit2.msg
# displayed before login
banner AmiTCP:db/welcome.msg
# readme messages
readme README login
readme README cwd=*
# login messages
message .message login
message .message cwd=*
# online compression and archiving
compress yes local remote
tar yes local remote
# passwd-check <none|trivial|rfc822> [<enforce|warn>]
passwd-check none
# logging
log commands real
log transfers anonymous,guest,real inbound,outbound
# where to put the shutdown message
shutdown AmiTCP:db/shutdown.msg
# 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 guest,anonymous # chmod permission?
umask no guest,anonymous # umask permission?
delete yes real
overwrite yes real
rename yes real
# specify the upload directory information
# upload big2:anon * no nodirs
upload big2:anon * yes ftp daemon 0666 nodirs
# path-filter...
path-filter anonymous AmiTCP:db/path.msg ^[-A-Za-z0-9_\.]*$ ^\. ^-
path-filter guest AmiTCP:db/path.msg ^[-A-Za-z0-9_\.]*$ ^\. ^-
# archive maintainer e-mail address
email [EMAIL PROTECTED]
# sessions with users from this group are setup like anonymous logins
guestgroup guest
# directories to which access is explicitly allowed
# allowdir ram: * # allow access to CD-ROM for all users
allowdir big2:anon (guest1|guest2) # allow access to our text directory
only to guest1 and guest2
# no access is allowed to this directories
denydir SYS: ~(dickow) # disallow access to system partition for everyone
but sysop
denydir programs: ftp # disallow access to private directory by anonymous
users
# ##########################################################
Robert Dickow
--
To unsubscribe send "unsubscribe miami-talk-ml" to
"[EMAIL PROTECTED]". For help on list commands send "help" to
"[EMAIL PROTECTED]".