Chrooted sftp on rhel3
Jay Berryman
jay.berryman at sitel.com
Fri Jun 15 16:51:39 UTC 2007
Here is a link to a helpful how to on chrooted sftp.
http://www.brandonhutchinson.com/chroot_ssh.html
Jay Berryman
Systems Engineer
+1 402.963.6347 T
+1 402.963.6051 F
jay.berryman at sitel.com
Sitel
5601 N 103rd St
Omaha, NE 68132
+1 402.963.6001
www.sitel.com
-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
On Behalf Of Carl Reynolds
Sent: Friday, June 15, 2007 11:37 AM
To: General Red Hat Linux discussion list
Subject: Re: Chrooted sftp on rhel3
Johan Booysen wrote:
> Hi everyone,
>
> I'm doing some tests setting up an sftp server, with setting up a chroot
> jail for ftp users.
>
> <snip...>
>
> Any ideas on how to restrict access so ftp users are locked into their
> own home directories - if that is even possible? It doesn't seem like
> much of an issue to me, but I'd appreciate your thoughts.
>
>
>
>
I did this five or six years ago. I don't remember the details, but I
can tell you it is possible to do. I seem to remember that I somehow set
the chrootpath to /home/<user-directory> for each user. This made that
directory the root for that user when the sign on so there is no way for
them to cd in /home. Thus they can't see the other users' directories.
The advantage of doing it this way is that it is far less resource
intensive than setting up a virtual machine for each user as they sign on.
Carl.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list