Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2006 02:27:40 -0400 (EDT)
From:      Matt Juszczak <matt@atopia.net>
To:        Marwan Sultan <dead_line@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Restricting access to home directory
Message-ID:  <20060925022702.T55176@saturn.atopia.net>
In-Reply-To: <BAY104-F169208A05FAB0BD8562A3E9A270@phx.gbl>
References:  <BAY104-F169208A05FAB0BD8562A3E9A270@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>
> !DSPAM:4517000f901501537419863!
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060925022702.T55176>