Restricting access to home directory

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


Well...

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?

-Matt

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 atopia.net> 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! 
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
> !DSPAM:4517000f901501537419863!
>


More information about the freebsd-questions mailing list