[Top][All Lists]

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

Re: [Jailkit-users] help , Keith

From: Olivier Sessink
Subject: Re: [Jailkit-users] help , Keith
Date: Tue, 12 Sep 2006 23:23:09 +0200
User-agent: Thunderbird (X11/20060812)

Stephen Tallowitz wrote:
> Hello Keith,
> it seems to me from your comments and the log file that you're trying to log 
> into your account - using an interactive shell. You are typing something like
> ssh address@hidden
> if I'm guessing correctly. This will not work, because jk_lsh is not an 
> interactive shell. There are two things you could do:
> 1. Select bash as the login shell in the jail (bypassing jk_lsh). Put 
> /bin/bash instead of /usr/sbin/jk_lsh into /home/jail/etc/passwd
> 2. Supply bash as the command to execute to the ssh command:
>       ssh address@hidden 'bash'
> If you chose option (2), don't forget to put /bin/bash in 
> /home/jail/etc/jailkit/jk_lsh.ini

2 is a bit of a funny alternative, jk_lsh is designed as alternative for
bash if you want to disallow interactive shells. So if you want an
interactive shell just do 1 and don't use jk_lsh.


reply via email to

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