[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] jk_check: 1fix and some error messages
From: |
Olivier Sessink |
Subject: |
Re: [Jailkit-users] jk_check: 1fix and some error messages |
Date: |
Sat, 19 Feb 2011 09:38:23 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
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 on http://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