|
From: | Olivier Sessink |
Subject: | Re: [Jailkit-users] Bug when adding user to jail without jk_lsh shell |
Date: | Sun, 23 Jan 2011 15:40:45 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
On 01/22/2011 04:33 AM, le tan vu wrote:
Yes, I did specify another shell (/bin/bash shell) in jail. Currently, my workable solution is create jail with 2 shells inside: *jk_init -j /home/jail basicshell jk_lsh* ([basicshell] is the default configuration section in jk_init.ini of Jailkit version 2.13) then I add user into jail without error, because jk_lsh exists. After that, for convenient usage, I have to modify the /home/jail/etc/passwd manually to replace default shell of user from jk_lsh to /bin/bash
which command do you use to add the user to the jail? Olivier -- Bluefish website http://bluefish.openoffice.nl/ Blog http://oli4444.wordpress.com/
[Prev in Thread] | Current Thread | [Next in Thread] |