Hello,
I followed the guide @
http://www.howtoforge.org/chroot_ssh_sftp_debian_etch
and setup a working chrooted shell/sftp
I managed to add some applications by adding them into the create_chroot_env script written there, and most of them worked fine. I had to copy some lib files to get some working.
However there is one essential application I need, screen.
I cannot get it to work on the chrooted shell.
The first error I had was something like:
Error: Must be connected to a terminal.
I somehow fixed this by mounting proc in the chroot dir and then I get the error:
Cannot open your terminal '/dev/pts/1' - please check.
I then mounted that also and it seemed to work and the screen window would open, but then I would get the error:
No More PTYs
If anyone could help me out I would be extremely greatful. It is pretty essential that screen is able to run in the chroot.
thanks
N
Recent comments
6 hours 17 min ago
11 hours 10 min ago
20 hours 2 min ago
21 hours 2 min ago
1 day 49 min ago
1 day 2 hours ago
1 day 5 hours ago
1 day 12 hours ago
1 day 21 hours ago
1 day 23 hours ago