[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] jk_lsh does not exist

From: Christian Schulz
Subject: Re: [Jailkit-users] jk_lsh does not exist
Date: Wed, 19 Feb 2014 16:43:47 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0


I have fixed the "issue". There is a part missing for the jk_init.
jk_lsh must be appended to be able to jail an user.

Because I want to use the normal bash I have adjusted the jk_jailuser call
jk_jailuser -m -j /home/_jail/ -s /bin/bash jane

Best Regards

Am 19.02.2014 14:04, schrieb Christian Schulz:

I am trying to create a chroot for a normal shell and found the howto:

I have problems when executing the command jk_jailuser -m -j /home/jail jane.

I get the following error:
# jk_jailuser -m -j /home/_jail/ jane
invalid shell, /home/_jail/usr/sbin/jk_lsh does not exist
enter jail directory: ^C

I have checked the /etc/passwd and the shell is /usr/sbin/jk_chrootsh.

I am using Debian 7 x64.

What is wrong? Thanks in advance for any hints.

Best Regards,

Christian Schulz

Jailkit-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]