Re: Setting up Anon FTP?

1998-02-27 Thread Hamish Moffatt
On Thu, Feb 26, 1998 at 08:42:33AM -0500, Ossama Othman wrote: Copy the the libraries from the ldd output to ~ftp/lib, or wherever the above libraries are relative to root (i.e. if in /usr/lib, copy to ~ftp/usr/lib). Make sure the libraries have a+rx permissions. And when did Debian stop

Re: Setting up Anon FTP?

1998-02-27 Thread Bob Nielsen
On Fri, 27 Feb 1998, Hamish Moffatt wrote: On Thu, Feb 26, 1998 at 08:42:33AM -0500, Ossama Othman wrote: Copy the the libraries from the ldd output to ~ftp/lib, or wherever the above libraries are relative to root (i.e. if in /usr/lib, copy to ~ftp/usr/lib). Make sure the libraries have

Re: Setting up Anon FTP?

1998-02-27 Thread Joel Klecker
At 10:26 -0800 1998-02-26, Alan Su wrote: Ossama Othman wrote (Thu, 26 Feb 1998 12:31:56 -0500 (EST) ): |Why are you trying to chroot to /bin/ls? The ftpd daemon automatically |does a chroot when someone logs in as anonymous or ftp. Here is an |excerpt from the ftpd man page. Did you follow

Setting up Anon FTP?

1998-02-26 Thread Richardson,Anthony
I'm trying to set up an anonymous ftp server. Everything seems to be working except ls or dir. I copied /bin/ls to /home/ftp/bin/ls and set up permissions as described in the ftpd man page. When I type ls however I get: 150 Opening ASCII mode data connection for '/bin/ls'. 226

Re: Setting up Anon FTP?

1998-02-26 Thread Alan Su
Richardson,Anthony wrote (Wed, 25 Feb 1998 20:01:00 -0500 ): | |I'm trying to set up an anonymous ftp server. Everything seems to be |working except |ls or dir. I copied /bin/ls to /home/ftp/bin/ls and set up permissions |as described in the |ftpd man page. When I type ls however I get: |

RE: Setting up Anon FTP?

1998-02-26 Thread Richardson,Anthony
: Alan Su [SMTP:[EMAIL PROTECTED] Sent: Wednesday, February 25, 1998 8:27 PM To: Richardson,Anthony Cc: 'debian-user' Subject: Re: Setting up Anon FTP? Richardson,Anthony wrote (Wed, 25 Feb 1998 20:01:00 -0500 ): | |I'm trying to set up an anonymous ftp server. Everything seems to be |working

RE: Setting up Anon FTP?

1998-02-26 Thread Ossama Othman
Run ldd on ls. For example, ldd /bin/ls (you need the absolute path) You should get output like: libc.so.6 = /lib/libc.so.6 (0x4000f000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) Copy the the libraries from the ldd output to ~ftp/lib, or wherever

RE: Setting up Anon FTP?

1998-02-26 Thread Richardson,Anthony
no luck. Any other ideas? Continued thanks, Tony Richardson -Original Message- From: Ossama Othman [SMTP:[EMAIL PROTECTED] Sent: Thursday, February 26, 1998 8:47 AM To: debian-user Subject: RE: Setting up Anon FTP? Run ldd on ls. For example, ldd /bin/ls (you need the absolute

RE: Setting up Anon FTP?

1998-02-26 Thread Ossama Othman
Why are you trying to chroot to /bin/ls? The ftpd daemon automatically does a chroot when someone logs in as anonymous or ftp. Here is an excerpt from the ftpd man page. Did you follow what it says? FROM LINUX FTPD MAN PAGE --- In the last case, ftpd takes special measures to restrict the

RE: Setting up Anon FTP?

1998-02-26 Thread Richardson,Anthony
, February 26, 1998 12:34 PM To: Richardson,Anthony Cc: debian-user Subject: RE: Setting up Anon FTP? Why are you trying to chroot to /bin/ls? The ftpd daemon automatically does a chroot when someone logs in as anonymous or ftp. Here is an excerpt from the ftpd man page. Did you follow what it says

Re: Setting up Anon FTP?

1998-02-26 Thread Alan Su
Ossama Othman wrote (Thu, 26 Feb 1998 12:31:56 -0500 (EST) ): |Why are you trying to chroot to /bin/ls? The ftpd daemon automatically |does a chroot when someone logs in as anonymous or ftp. Here is an |excerpt from the ftpd man page. Did you follow what it says? | Tony was trying to diagnose

Re: Setting up Anon FTP?

1998-02-26 Thread Ossama Othman
Tony was trying to diagnose the problem, the same problem I'm having. Namely, ls depends on libc (at least) and simply copying the library to the ~ftp/lib directory doesn't work. The man page mentions nothing about this, leading me to believe that it assumes that ls is statically linked.

Re: Setting up Anon FTP?

1998-02-26 Thread Alan Su
Ossama Othman wrote (Thu, 26 Feb 1998 14:03:54 -0500 (EST) ): | |Ah, I see. However, what is the specific problem? I assume Tony ran ldd |on /bin/ls and copied over the necessary shared libraries. What is wrong |or isn't happening now? Well, I can't speak to his situation, but currently, when

Re: Setting up Anon FTP?

1998-02-26 Thread Bob Nielsen
I was having the same problem (wu-ftpd, hamm distribution) and sent a message to the list a few days ago with no responses. After seeing Ossama's message, I copied the lib files to /home/ftp/lib as suggested. It fixed it for me. chroot works also, by the way. I tried static linking, but that

Re: Setting up Anon FTP?

1998-02-26 Thread Ossama Othman
Hi again, a chroot'd file system. Heck, a chroot'd process won't even see /lib/ld.so, right? So, do we need to copy /lib/ld.so, /etc/ld.so.*, and a bunch of other stuff to the ~ftp area? As I e-mailed earlier, running ldd on /bin/ls (i.e: ldd /bin/ls) should give you the names of all the

RE: Setting up Anon FTP?

1998-02-26 Thread Richardson,Anthony
2:44 PM To: Alan Su Cc: Ossama Othman; Richardson,Anthony; debian-user Subject: Re: Setting up Anon FTP? I was having the same problem (wu-ftpd, hamm distribution) and sent a message to the list a few days ago with no responses. After seeing Ossama's message, I copied the lib files to /home/ftp

Re: Setting up Anon FTP?

1998-02-26 Thread Bob Nielsen
I checked the bug reports and bug #17110 has been filed against wu-ftpd on this, as well as bug #16186 against wu-ftpd-academ. Both bugs are still open. From the package description, it looks like proftp might be a way around all this, but I haven't tried it. Bob --- Bob Nielsen

RE: Setting up Anon FTP?

1998-02-26 Thread Bob Nielsen
On Thu, 26 Feb 1998, Richardson,Anthony wrote: Maybe installing wu-ftpd will solve the problem then? I was trying to set things up by man according to the man page. I'm still curious as to what I need to set up for chroot to work. You will have to copy the files as Ossama suggested. What

Re: Setting up Anon FTP?

1998-02-26 Thread Bob Clark
- From: Bob Nielsen [SMTP:[EMAIL PROTECTED] Sent: Thursday, February 26, 1998 2:44 PM To: Alan Su Cc: Ossama Othman; Richardson,Anthony; debian-user Subject: Re: Setting up Anon FTP? I was having the same problem (wu-ftpd, hamm distribution) and sent a message to the list a few days ago

RE: Setting up Anon FTP?

1998-02-26 Thread Richardson,Anthony
,Anthony Cc: Alan Su; Ossama Othman; debian-user Subject: RE: Setting up Anon FTP? On Thu, 26 Feb 1998, Richardson,Anthony wrote: Maybe installing wu-ftpd will solve the problem then? I was trying to set things up by man according to the man page. I'm still curious as to what I need to set up