[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-dev] Can jk_chrootsh be used manually ?
From: |
Ashish Sharma |
Subject: |
Re: [Jailkit-dev] Can jk_chrootsh be used manually ? |
Date: |
Thu, 11 Jul 2013 17:48:16 +0530 |
On 11-Jul-2013, at 5:48 PM, Olivier Sessink wrote:
>> I am trying to 'login' a jailed user so that the bash terminal shows up with
>> he being jailed. I was thinking that using '/usr/sbin/jk_chrootsh' instead
>> of 'bash' could solve my problem, but it did not really work for me.
>
> what was in the logs? jk_chrootsh usually gives useful log messages.
There are no error messages. I checked syslog as well.
For time being, I am able to resolve the problem by replacing 'bash' with 'su
<user>'.
>
>>
>> I realized I do not really understand how jk_chrootsh works. Can somebody
>> help me with this ?
>
> jk_chrootsh is a login shell replacement, perhaps jk_uchroot works
> better for your situation.
I will probably try. But since the problem got solved. Chances are less.
Thanks for your help.
>
> Olivier
>
>
> --
> Bluefish website http://bluefish.openoffice.nl/
> Blog http://oli4444.wordpress.com/
>