RE: [Chrootssh-users] Connection: /bin/ssh-dummy-shell: No such f ile or directory
Brought to you by:
punkball
From: Steve S. <st...@ki...> - 2002-12-20 18:36:47
|
On Mon, 16 Dec 2002, Dunn, Delain O wrote: > I created a bin dir in the user's home, and copied ssh-dummy-shell into > it. I ssh to the account and now I get a different messages: > > Last login: Thu Dec 12 2002 11:16:06 -0600 from neo > No mail. > ssh-dummy-shell: Cannot find /usr/lib/ld.so.1 > Connection to cronus.lmtas.lmco.com closed. > > And I've checked that lib dose exist, do I need to move the shell up one > dir? You will need a usr/lib in the chroot jail. I also usually set up a sym link from a lib in the chroot jail to the usr/lib that I build there. Then you will need to copy the ld.so.1 from /usr/lib to the usr/lib in the chroot jail. If you have other binaries that need access in the chroot jail, you can find out what dynamic libraries they need by using ldd. --Steve "Perhaps God gave man free will so he could choose to stop those who had chosen evil." <James Lileks> |