Re: Ftpd annoyance - DIR doesn't work for anonymous ftp

1996-05-04 Thread Alexander Goldstein
On Sat, 4 May 1996, David M Smith wrote:

> > "Mark" == Mark Eichin <[EMAIL PROTECTED]> writes:
> 
> Definitely agree with this.  It would be nice to have an anon-ftp
> package which would set up ~ftp as appropriate (but not as extremely
> as Mark suggests!)
> 
There is already such thing out there.

[alexandria] ~>dpkg -s wu-ftpd 
Package: wu-ftpd 
Status: install ok installed 
Priority: optional 
Section: net 
Maintainer: Peter Tobias <[EMAIL PROTECTED]> 
Version: 2.4-20 
Depends: libc5, netbase (>=2.00) 
Conffiles: 
 /etc/ftpd/ftpaccess b3b52d3d211dca606a8a3bfd8c830c7d
 /etc/ftpd/ftpconversions 4f3ffcef4b8cd176574877af66b57439
 /etc/cron.monthly/wu-ftpd 59b64f3ca5c2819b721ccbe32aac93d5 
Description: A powerful replacement for the standard ftpd
 wu-ftpd (Washington University ftp server) is a replacement ftp server
 for Unix systems.  Besides supporting the ftp protocol defined in RFC 959,
 it adds the following features: 
o logging of transfers . 
o logging of commands
o on the fly compression and archiving
o classification of users on type and location
o per class limits
o per directory upload permissions
o restricted guest accounts
o system wide and per directory messages. 
o directory alias
o cdpath
o filename filter
  
Also the package sets up anonimous ftp (I think you have to remove the 
ftp directory and ftp user for automatic configuration to work.).


Re: Ftpd annoyance - DIR doesn't work for anonymous ftp

1996-05-04 Thread Ian Jackson
David M. Smith writes ("Re: Ftpd annoyance - DIR doesn't work for anonymous 
ftp"):
> >>>>> "Mark" == Mark Eichin <[EMAIL PROTECTED]> writes:
> Mark> (There's something to be said for having the debian ftpd package
> Mark> either handle this or include a script to do so... even if it
> Mark> means "dpkg --root ~ftp -i base*.deb" :-)
> 
> Definitely agree with this.  It would be nice to have an anon-ftp
> package which would set up ~ftp as appropriate (but not as extremely
> as Mark suggests!)

The package exists, and is called `wu-ftpd'.

Ian.


Re: Ftpd annoyance - DIR doesn't work for anonymous ftp

1996-05-04 Thread Dirk . Eddelbuettel

  David> It would be nice to have an anon-ftp package which would set up ~ftp
  David> as appropriate

Just install wu-ftpd.

You will see that Debian has one just like you suggest here.

--
Dirk Eddelb"uttel  http://qed.econ.queensu.ca/~edd


Re: Ftpd annoyance - DIR doesn't work for anonymous ftp

1996-05-04 Thread Ian Jackson
David M. Smith writes ("Ftpd annoyance - DIR doesn't work for anonymous ftp"):
> I've just enabled anonymous ftp to my Debian 1.1 Linux box according
> to the instructions in the ftpd manpage.  [...]

Oh dear.  Of course the right thing to do is to install wu-ftpd.

Could the ftpd manpage be changed so that it recommends that the user
install the wu-ftpd package and only follows its instructions if they
don't want this for some reason ?

Ian.


Re: Ftpd annoyance - DIR doesn't work for anonymous ftp

1996-05-04 Thread David M Smith
> "Mark" == Mark Eichin <[EMAIL PROTECTED]> writes:
Mark> (There's something to be said for having the debian ftpd package
Mark> either handle this or include a script to do so... even if it
Mark> means "dpkg --root ~ftp -i base*.deb" :-)

Definitely agree with this.  It would be nice to have an anon-ftp
package which would set up ~ftp as appropriate (but not as extremely
as Mark suggests!)

# Dave

-- 
David M. Smith, Department of Mathematics and Statistics, Lancaster University
<[EMAIL PROTECTED]>  x3952  http://www.maths.lancs.ac.uk:2080/~maa036/


Re: Ftpd annoyance - DIR doesn't work for anonymous ftp

1996-05-04 Thread Brian C. White
> Any ideas on how to enable DIR for anonymous ftp users?

Here is what I have in my directories.  This was setup automatically when
I installed "wu-ftpd", I believe.

gatekeeper:~ftp# dir bin
gzip*  ls*tar*   zip*
gatekeeper:~ftp# dir lib
ld.so*   libc.so.4@   libc.so.4.6.27.old*
gatekeeper:~ftp# 

Brian
   ( [EMAIL PROTECTED] )

---
In theory, theory and practice are the same.  In practice, they're not.


Re: Ftpd annoyance - DIR doesn't work for anonymous ftp

1996-05-03 Thread Mark Eichin
This is probably the most frequently asked question over on the
wu-ftpd list :-)

Easy way: compile ls from sources, but use gcc -static at the end so
it doesn't need shared libs. Works on all systems.

Hard way: update a *lot* more of lib, you need ld.so and/or
ld-linux.so, and you need to run ldconfig on that copy of lib (see the
ldconfig man page for details.) The specific details vary a lot from
system to system. (There's something to be said for having the debian
ftpd package either handle this or include a script to do so... even
if it means "dpkg --root ~ftp -i base*.deb" :-)


Re: Ftpd annoyance - DIR doesn't work for anonymous ftp

1996-05-03 Thread Richard Kettlewell
>I've just enabled anonymous ftp to my Debian 1.1 Linux box according
>to the instructions in the ftpd manpage.  All works fine, except that
>it appears that an anonymous ftp user cannot use the command "DIR"
>and "ls -l" doesn't work (both report no files).  This works fine for
>regular users.  I simply copied /bin/ls to ~ftp/bin; I thought the
>problem may have been that ls couldn't find its libraries after the
>chroot, but copying libc.so to ~ftp/lib didn't help either.

What about ld.so?

You might find some error messages in log files, with any luck: those
would provide a pointer, too.

-- 
Richard Kettlewell
[EMAIL PROTECTED]http://www.elmail.co.uk/staff/richard/


Ftpd annoyance - DIR doesn't work for anonymous ftp

1996-05-03 Thread David M Smith
I've just enabled anonymous ftp to my Debian 1.1 Linux box according
to the instructions in the ftpd manpage.  All works fine, except that
it appears that an anonymous ftp user cannot use the command "DIR" and
"ls -l" doesn't work (both report no files).  This works fine for
regular users.  I simply copied /bin/ls to ~ftp/bin; I thought the
problem may have been that ls couldn't find its libraries after the
chroot, but copying libc.so to ~ftp/lib didn't help either.

Any ideas on how to enable DIR for anonymous ftp users?

Thanks,
# Dave

-- 
David M. Smith, Department of Mathematics and Statistics, Lancaster University
<[EMAIL PROTECTED]>  x3952  http://www.maths.lancs.ac.uk:2080/~maa036/