Restricting access to home directory

Gouverneur, Thomas tgouverneur at be.tiauto.com
Mon Sep 25 06:45:39 PDT 2006


Correct, but you can still use it into a chroot.

Consider: http://www.sdri.co.jp/rssh/CHROOT_en.html


Regards,

--
Thomas Gouverneur
Junior UNIX Administrator
TI Automotive

-----Original Message-----
From: Matt Juszczak [mailto:matt at atopia.net] 
Sent: lundi 25 septembre 2006 15:35
To: Gouverneur, Thomas
Cc: 'freebsd-questions at freebsd.org'
Subject: RE: Restricting access to home directory

rssh supports chroots it seems, but no way to actually tie them to their 
home dir.

-Matt

On Mon, 25 Sep 2006, Gouverneur, Thomas wrote:

>
> Have a look to: http://www.pizzashack.org/rssh
>
>
> Regards,
>
> --
> Thomas Gouverneur
> Junior UNIX Administrator
> TI Automotive
>
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Matt Juszczak
> Sent: lundi 25 septembre 2006 8:28
> To: Marwan Sultan
> Cc: freebsd-questions at freebsd.org
> Subject: Re: Restricting access to home directory
>
> 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"
>>
>>
>>
>>
> _______________________________________________
> 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"
>
> The information contained in this transmission may contain privileged and
confidential information.  It is intended only for the use of the person(s)
named above. If you are not the intended recipient, you are hereby notified
that any review, dissemination, distribution or duplication of this
communication is strictly prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the
original message.
> _______________________________________________
> 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:4517c88b8285209328925!
>

The information contained in this transmission may contain privileged and confidential information.  It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.


More information about the freebsd-questions mailing list