[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [afnog] chroot
- To: antonio at nambu.uem.mz
- Subject: Re: [afnog] chroot
- From: Joe Abley <jabley at isc.org>
- Date: Tue, 15 Jul 2003 22:33:11 -0400
- Cc: afnog at afnog.org
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=US-ASCII; format=flowed
- Delivered-To: afnog-archive at lists.eahd.or.ug
- Delivered-To: afnog at afnog.org
- In-Reply-To: <3F100994.25808.970A3 at localhost>
- List-Archive: <http://listserv4.cfi.co.ug/pipermail/afnog>
- List-Help: <mailto:afnog-request at afnog.org?subject=help>
- List-Id: The African Network Operators Group <afnog.afnog.org>
- List-Post: <mailto:afnog at afnog.org>
- List-Subscribe: <http://listserv4.cfi.co.ug/mailman/listinfo/afnog>,<mailto:afnog-request at afnog.org?subject=subscribe>
- List-Unsubscribe: <http://listserv4.cfi.co.ug/mailman/listinfo/afnog>,<mailto:afnog-request at afnog.org?subject=unsubscribe>
- Sender: afnog-bounces at afnog.org
On Saturday, Jul 12, 2003, at 07:13 Canada/Eastern,
antonio at nambu.uem.mz wrote:
> I would like to know if it is possible to give a chroot environment to
> someone who does a normal login with a shell in FreeBSD. I know
> how to do it for ftp but I don't know if it's possible with normal
> shell
> login so that the person can not get out of his home dir.
I wrote something that did this once, for an ISP I worked at in Canada
in the mid-90s. I've just had a look and I can't find the source,
though, so that's not very helpful :-)
This looks similar, although I haven't tried it (and hence this is not
a recommendation):
http://www.aarongifford.com/computers/chrsh.html
If you're using FreeBSD, also see "man jail".
Joe
_______________________________________________
This is the afnog mailing list.
To send a message to this list, e-mail afnog at afnog.org
This list is maintained by owner-afnog at afnog.org