Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2006 21:25:42 +0200
From:      Martin Hudec <>
To:        Matt Juszczak <>
Subject:   Re: Restricting access to home directory
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hello Matt,

Matt Juszczak wrote:
> Hi all,
> I would like to give a user access to my box via some kind of FTP but 
> restrict him to his home directory.
> I have seen scponlyc, which supposedly can do this, but can't seem to 
> get it working.
> I have also read up on protftpd + ssl, and configuring it to lock users 
> into their home directories.
> What would all of you recommend as a viable secure solution to this?

First of all, scp (scponly) is not a FTP service. Nevertheless both 
options are just fine. Proftpd is able to "jail" users inside their dirs.

Settings required in proftpd.conf:

DefaultRoot ~ [group]

where ~ are their specified homedirs and group is optional (members of 
that group will be jailed to their homedirs, others will be able to 
browse everywhere, if group is not used, everybody using proftpd will be 


Want to link to this message? Use this URL: <>