On 02/18/2011 05:20 PM, Christian Göttsche wrote:
Hi list,
i'am using jailkit on debian 5.0 and created a chrooted shell on the
basis onhttp://olivier.sessink.nl/jailkit/howtos_chroot_shell.html.
I edit in the /usr/sbin/jk_check the PREFIX into EXEPREFIX, but the
script doesn't work anyway. Although python2.5 and python2.5-minimal
is installed on my server, python doesn't know the function trim(); so
i have to edit the line 215 into
if (rpw[6].strip() != chrootsh):
and now it works. Haven't i install some packages or why doesn't he
know the function??
I really should do a new release soon, this was fixed in CVS already.
When i now run jk_check i get these error messages:
ERROR: user tunneluser has a /./ but does not have the /sbin/jk_chrootsh shell
this sounds as something you want to look at
/home
ERROR: /home/jail/etc/passwd and /etc/passwd have a different size!
ERROR: /home/jail/etc/group and /etc/group have a different size!
ERROR: /home/jail/etc/ld.so.cache and /etc/ld.so.cache have a different size!
ERROR: cannot stat() /home/jail/home/tunneluser/.bash_history or
/home/tunneluser/.bash_history !
you probably want to ignore these in /etc/jailkit/jk_lsh.ini
Olivier
_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users