[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] Cannot find file '/usr/sbin/jk_chrootsh' when using
From: |
Olivier Sessink |
Subject: |
Re: [Jailkit-users] Cannot find file '/usr/sbin/jk_chrootsh' when using ssh |
Date: |
Wed, 05 Jul 2006 08:20:52 +0200 |
User-agent: |
Thunderbird 1.5.0.4 (X11/20060619) |
nissehud wrote:
Hoi Olivier,
Prettig met u kennis te maken! Dank u for the reply.. :o)
I'm using jailkit 2.0. All binaries are in /usr/sbin.
/etc/passwd contains the correct path, i.e. /usr/sbin/jk_chrootsh
<jail>/dev contains 'tty' 'log=' 'urandom'
su - takes me straight into the jail. No problem. As does,
su <jailuser> All then looks and works aok.
sorry I meant 'su - <jailuser>', does that work?
ssh'ing in from an external ( or local ) machine gives the following
sequence:
ssh address@hidden
address@hidden's password:
Last login: Mon Jul 3 23:12:22 2006 from xxx.xxx.xxx.xxx
/usr/sbin/jk_chrootsh: no such file or directory
if you manually start /usr/sbin/jk_chrootsh, what happens? it should
give you some log message.
Checking /var/log/auth/* shows username and password are accepted,
but that the new entry /dev/pts/x fails to be created.
Maybe something being copied that should'nt be when I issue the command,
jk_init -v /<jail> ssh ??
possibly, the defaults in jk_init.ini are taken from a Debian machine,
so there could be files missing..
I've been trying figure out the differences between the two installs.
The one behaving itself is on a self-compiled distro based on Crux,
2.6.xx kernel.
The one not, is on a 2.2 version of Trustix, 2.4.xx
is it using SELinux ?
'strace' might be the best option to debug this further..
see the howto on debugging jails
regards,
Olivier
- [Jailkit-users] Cannot find file '/usr/sbin/jk_chrootsh' when using ssh, nissehud, 2006/07/03
- Re: [Jailkit-users] Cannot find file '/usr/sbin/jk_chrootsh' when using ssh, Olivier Sessink, 2006/07/04
- Re: [Jailkit-users] Cannot find file '/usr/sbin/jk_chrootsh' when using ssh, nissehud, 2006/07/04
- Re: [Jailkit-users] Cannot find file '/usr/sbin/jk_chrootsh' when using ssh,
Olivier Sessink <=
- Re: [Jailkit-users] Cannot find file '/usr/sbin/jk_chrootsh' when using ssh, address@hidden, 2006/07/07
- Re: [Jailkit-users] Cannot find file '/usr/sbin/jk_chrootsh' when using ssh, Olivier Sessink, 2006/07/09
- Re: [Jailkit-users] Cannot find file '/usr/sbin/jk_chrootsh' when using ssh, address@hidden, 2006/07/09
- Re: [Jailkit-users] Cannot find file '/usr/sbin/jk_chrootsh' when using ssh, Olivier Sessink, 2006/07/10
- Re: [Jailkit-users] Cannot find file '/usr/sbin/jk_chrootsh' when using ssh, address@hidden, 2006/07/10
[Jailkit-users] Mailman message duplication .., nissehud, 2006/07/04