[Top][All Lists]

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

Re: [Jailkit-users] Beginners Question

From: Richard Scott
Subject: Re: [Jailkit-users] Beginners Question
Date: Thu, 03 Apr 2014 21:00:27 +0100
User-agent: Roundcube Webmail/0.9.5


Well done for getting that far with Jailkit :-)

You can either change the permissions on the users home folders or create a totally new chroot jail for the 2nd user.

try this first.

$ chmod o-r /home/sftproot/home/test
$ chmod o-r /home/sftproot/home/test2

...that's a letter o (not zero)


On 03/04/2014 16:22, Bryan Gintz wrote:

I am new to the ideas behind chroot and jailkit, etc.  
I am not able to use the chroot capability that comes with openssh because of my need for the users to write to the root directory, so I tried jailkit.
Everything seems to work fine, except when I have multiple users in the jail, they are able to navigate to each other's directories and read their files.
Right now I my jail is /home/sftproot, and inside I have 2 users:
If I login via SFTP as either test or test 2, I see that I am in "/home", and can navigate back into their directories and dread files.
Is there an easy way to avoid this, or do I need to set up separate jail for each user?

Jailkit-users mailing list

reply via email to

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