This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hacking ASL - Need ls in chroot jail

Hi all,

for a small script that sould run every time the pppoe interface goes up I need to see the contents of a directory. In the script I do a 'ls -1' but it tells me 'command not found'. I don't understand this as I though 'ls' is a bash builtin command. But anyways, as the script runs in a chroot jail, I copied /bin/ls to /var/chroot-pppoe/bin. Now, it complains about missing libraries. Somebody knows a solution whithout copying all the libraries to the chroot jail?

Thanks,

Markus


This thread was automatically locked due to age.
Parents Reply Children
No Data