[Top][All Lists]

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

Re: [Jailkit-users] Prevent access to root path

From: Olivier Sessink
Subject: Re: [Jailkit-users] Prevent access to root path
Date: Wed, 06 Apr 2011 23:06:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110223 Thunderbird/3.1.8

On 04/06/2011 10:09 PM, rene oyarzun wrote:
I have created a user sftp access only. Example user test
How can I prevent the user test access to the root directory of jail.
Root Directory Jail: /sftp/jail
User Directory: /sftp/jail/home/test
User test can see and get file from /sft/jail/etc/*
How prevent this?

There is no easy way. You can experiment with permissions, but several processes need some permissions in <jail>/etc/ to function, so you probably cannot prevent this.

But why do you keep any sensitive files in <jail>/etc/ ? There should not be anything sensitive there !?!?


Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/

reply via email to

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