[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [afnog] chroot
- To: Joe Abley <jabley at isc.org>, afnog at afnog.org
- Subject: Re: [afnog] chroot
- From: "Antonio Godinho" <antonio at nambu.uem.mz>
- Date: Wed, 16 Jul 2003 11:53:59 +002 GMT
- Cc: afnog at afnog.org
- Content-transfer-encoding: 7BIT
- Content-type: text/plain; charset=US-ASCII
- Delivered-To: afnog-archive at lists.eahd.or.ug
- Delivered-To: afnog at afnog.org
- In-reply-to: <D7DB57B8-B735-11D7-9E62-00039312C852 at isc.org>
- 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>
- Organization: Universidade Eduardo Mondlane
- Priority: normal
- References: <3F100994.25808.970A3 at localhost>
- Sender: afnog-bounces at afnog.org
Thanks, I will look into it.
Cheers,
>
> 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
>
Antonio Godinho
B.Sc., MCP, MCP+Internet, MCSE, CCNA, CCNP
Address:Av. Julius Nyerere 947 3rd floor esq
Maputo - Mozambique
Phone : 258-82-300392
e-mail : ANTONIO at nambu.uem.mz
An expert is one who knows more and more
about less and less until he knows absolutely
everything about nothing.
_______________________________________________
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