jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] Bug when adding user to jail without jk_lsh shell


From: le tan vu
Subject: Re: [Jailkit-users] Bug when adding user to jail without jk_lsh shell
Date: Mon, 24 Jan 2011 07:32:56 +0700

Hi Olivier,
I used the command:
jk_jailuser -v -m -n -j /home/jail jailedUser

When typing this, I recognize that I forgot an useful argument "-s".
I thought that we must set default shell for the jail not for each user. And it was my mistake.

Many thanks for your time and your patience,

Kind regards,
--
Vu Tan Le
On Mon, Jan 24, 2011 at 12:02 AM, <address@hidden> wrote:
Send Jailkit-users mailing list submissions to
       address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.nongnu.org/mailman/listinfo/jailkit-users
or, via email, send a message with subject or body 'help' to
       address@hidden

You can reach the person managing the list at
       address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Jailkit-users digest..."


Today's Topics:

  1. Re: Bug when adding user to jail without jk_lsh shell
     (Olivier Sessink)


----------------------------------------------------------------------

Message: 1
Date: Sun, 23 Jan 2011 15:40:45 +0100
From: Olivier Sessink <address@hidden>
Subject: Re: [Jailkit-users] Bug when adding user to jail without
       jk_lsh shell
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

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/



------------------------------

_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users


End of Jailkit-users Digest, Vol 61, Issue 5
********************************************



--
Vu Tan Le


reply via email to

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