|
From: | telecom1 |
Subject: | [Jailkit-users] Re: sftp and ssh to serve return different messages... |
Date: | Fri, 25 Jan 2008 18:48:58 -0500 |
OK. I setup a user first. adduser tom1 Then changed his password passwd tom1 Then I ran: jk_jailuser --jail=/home/jailkit tom1home directory /home/tom1 is not within /home/jailkit, move the directory contents?
[Y]/[n] Y Then I ran : sftp address@hidden And then got this: sftp> Warning: child process (/usr/local/bin/ssh2) exited with code 0. -Chris----- Original Message ----- From: "Olivier Sessink" <address@hidden>
To: <address@hidden>; <address@hidden> Sent: Friday, January 25, 2008 6:27 PM Subject: Re: sftp and ssh to serve return different messages...
address@hidden wrote:Yes, I have the same config on server1 and server2 I am testing on each different server... /usr/sbin/jk_chrootsh is set to run and set to 755 and I even changed it to 777that is *extremely insecure* because jk_chrootsh is setuid root!!Also, what is the step by step process to add a new user? If I run the following: jk_jailuser -m -j /home/jailkit mike It says : user mike does not existplease read the manual first `man jk_jailuser` it explains it all.What is the best way to do this?use jk_jailuser as explained in the manual regards,Olivier
[Prev in Thread] | Current Thread | [Next in Thread] |