Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2003 13:50:50 -0500 (EST)
From:      "Matt Juszczak" <matt@atopia.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: SFTP Access Restrictions
Message-ID:  <2562.24.225.162.3.1072551050.squirrel@mail.webaries.com>
In-Reply-To: <44wu8iqndi.fsf@be-well.ilk.org>
References:  <1072289310.4549.1.camel@prick> <44wu8iqndi.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Matthew Juszczak <matt@atopia.net> writes:
>
>> I was wondering if there is a way to setup permissions through SFTP that
>> are "higher" than the actual account's permissions.  Sort of the like
>> the features available with ftp through /etc/ftpchroot.  Right now I
>> have about 10 users who's shell is set to sftp-server, so the only thing
>> they can do is sftp in.
>
> Please be just a bit more precise.  What do you want your setup to do
> that its current arrangement isn't doing?
>

I would like users who use sftp to be restricted to their home directory
only.  Is there a way to do this without setting up a "jail" of sorts?  In
regular ftp, I know the file /etc/ftpchroot allows access control (as well
as in the actual ftp config file, for instance proftpd allows you to set
options to restrict users to their home directory only).

Thanks!

-Matt



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