[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Setting up Anon FTP?



I had already done what is suggested below, but no luck.  The following:
  chroot /home/ftp /bin/ls
gives
  chroot: cannot execute /bin/ls: No such file or directory
(using ls or bin/ls instead of /bin/ls gives the same message).

I've got all the libraries copied to /home/ftp/lib, but still no luck.

Any other ideas?
Continued thanks,
Tony Richardson


 -----Original Message-----
From: Ossama Othman [SMTP:othman@astrosun.tn.cornell.edu]
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 path)

You should get output like:

        libc.so.6 => /lib/libc.so.6 (0x4000f000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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.

Good luck.

 -Ossama

______________________________________________________________________
Ossama Othman <othman@astrosun.tn.cornell.edu>

 --- PGP Keys ---
Public:  http://astrosun.tn.cornell.edu/staff/othman/OO_PUBLIC.asc
REVOKED: http://astrosun.tn.cornell.edu/staff/othman/OO_REVOKED.asc



 --
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble?  e-mail to templin@bucknell.edu .


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: