Restricting access to home directory

Matt Juszczak matt at
Sun Sep 24 23:27:41 PDT 2006


If there was an easy way to restrict users to their home directories using 
SCP or SCPONLY, I would love that instead.

I don't really feel like installing an FTP server just so users can 
connect to my server when they are already used to using sftp-server.

Is there anyway?


On Sun, 24 Sep 2006, Marwan Sultan wrote:

> Hi Matt!
> If you are talking about givin FTP access only, then
> the easiest way to do it is just adding the user to the file /etc/ftpchroot
> and thats all!!
> if the file does not exist. then create it.
> add to /etc/ftpchroot all users that you want them to ftp but never see any 
> upper level of shell.
> have fun,
> Marwan Sultan
> System Administrator.
>> On Sun, 24 Sep 2006 15:09:23 -0400 (EDT)
>> Matt Juszczak <matt at> wrote:
>> > 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.
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE! 
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"
> !DSPAM:4517000f901501537419863!

More information about the freebsd-questions mailing list