Restricting access to home directory
matt at atopia.net
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 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!
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions