|
From: | telecom1 |
Subject: | Re: [Jailkit-users] /home/jailkit...group and passwd file |
Date: | Wed, 23 Jan 2008 18:05:52 -0500 |
if you want to use ssh, why are you using jk_lsh ?????
I have no idea... I was just following the instructions on your website...This is how I have my jk_lsh.ini file...which is inside of my /home/jailkit folder...
[tom] paths= /usr/bin, /usr/lib/ executables= /usr/bin/scp, /usr/local/bin/sftp-server [group 2004] paths = /usr/bin executables = /usr/bin/cvs allow_word_expansion =0 and then in my passwd inside of the /home/jailkit/etc folder I have the following entry: tom:x:1004:1004::/home/tom:/usr/sbin/jk_lsh HELP.... Thanks...... -Chris----- Original Message ----- From: "Olivier Sessink" <address@hidden>
To: <address@hidden>; <address@hidden> Sent: Wednesday, January 23, 2008 5:42 PM Subject: Re: [Jailkit-users] /home/jailkit...group and passwd file
address@hidden wrote:OK, I did what you said: Now I get: Jan 23 22:11:56 server1 jk_lsh[29178]: WARNING: user tom (1004) tried to run 'sftp-server', which is not allowed according to /etc/jailkit/jk_lsh.inias I explained before, you are using this jk_lsh inside a jail, so you need to configure <jail>/etc/jailkit/jk_lsh.ini something like this: [tom] executables = <path to>sftp-server paths = <same path>I am trying to ssh and I am trying to SFTP using CuteFTP.if you want to use ssh, why are you using jk_lsh ????? from man jk_lsh: The jailkit limited shell jk_lsh will allow only configured commands to be executed. All other commands, or regular shell access are denied. regards,Olivier
[Prev in Thread] | Current Thread | [Next in Thread] |