jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] jk_lsh not working


From: Victor San Kho Lin
Subject: Re: [Jailkit-users] jk_lsh not working
Date: Sun, 14 Oct 2007 04:42:08 +0800

Hi,

The following are log output.

address@hidden jailkit]# tail /var/log/messages|grep jk_
Oct 14 04:05:50 hostname jk_socketd[14281]: version 2.4, listening on
socket /home/chrootuser/dev/log with rates [512:2048]/10.000000
Oct 14 04:05:50 hostname jk_socketd[14281]: version 2.4, socket
/home/chrootuser/dev/log is mentioned multiple times in config file
Oct 14 04:06:32 hostname jk_chrootsh[14288]: now entering jail
/home/chrootuser for user john (777)
Oct 13 20:06:32 hostname jk_lsh[14288]: jk_lsh version 2.4, started
Oct 13 20:06:32 hostname jk_lsh[14288]: WARNING: user john (777) tried
to get an interactive shell session (/usr/sbin/jk_lsh), which is never
allowed by jk_lsh
Oct 14 04:10:22 hostname jk_socketd[15393]: version 2.4, listening on
socket /home/chrootuser/dev/log with rates [512:2048]/10.000000
Oct 14 04:10:22 hostname jk_socketd[15393]: version 2.4, socket
/home/chrootuser/dev/log is mentioned multiple times in config file
Oct 14 04:10:49 hostname jk_chrootsh[15398]: now entering jail
/home/chrootuser for user john (777)

cat /home/chrootuser/etc/jailkit/jk_lsh.ini
[john]
paths= /usr/bin, /usr/lib/
executables= /usr/bin/ssh, /usr/bin/scp, /usr/lib/sftp-server

I referenced the following guides.
http://olivier.sessink.nl/jailkit/jk_lsh.8.html
http://olivier.sessink.nl/jailkit/howtos_sftp_scp_only.html
http://olivier.sessink.nl/jailkit/howtos_ssh_only.html

If need more debug info, pls guide.
Thanks.
Victor



On 10/11/07, Olivier Sessink <address@hidden> wrote:
> Victor San Kho Lin wrote:
> > Hi,
> >
> > Yes. Same here on Fedora Core 5.
> > I have to use bash as shell for jailed users, suppose to be with jk_lsh.
> > If not, can't ssh or sftp setup as alone or both.
> > Any guide for work around. jk_socketd is started but no logging inside jail.
>
> what is the output from `grep jk_ /var/log/*` ?
>
> Olivier
>




reply via email to

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