what happens when myuser logs in:
address@hidden:~$ sftp address@hidden
Connecting to server...
address@hidden's password:
Connection closed
This is all that jk_socketd gives me:
Dec 21 15:38:40 server jk_chrootsh[19580]: now entering jail /home/jail
for user myuser (503)
Dec 21 15:38:40 server jk_lsh[19580]: jk_lsh version 2.10, started
If i change /home/jail/etc/passwd from "/usr/sbin/jk_lsh" to "/bin/bash"
everything works fine, so I know the jail itself is set up correctly -
the problem has to be with jk_lsh somewhere.
an strace of the jk_lsh process reveals:
open("/dev/tty", O_RDWR|O_NOCTTY|O_NONBLOCK) = -1 ENOENT (No such file
or directory)
writev(2, [{"*** glibc detected *** ", 23}, {"/usr/sbin/jk_lsh", 16},
{": ", 2}, {"malloc(): memory corruption", 27}, {": 0x", 4},
{"08ebb2e0", 8}, {" ***\n", 5}], 7) = 85
I am at a loss here, any ideas?