Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 1997 19:35:02 +1000
From:      David Nugent <davidn@labs.usn.blaze.net.au>
To:        Julian Elischer <julian@current1.whistle.com>
Cc:        Jaye Mathisen <mrcpu@cdsnet.net>, hackers@FreeBSD.ORG
Subject:   Re: Correct way to chroot for shell account users? 
Message-ID:  <199705260935.TAA00959@labs.usn.blaze.net.au>
In-Reply-To: Your message of "Sun, 25 May 1997 17:54:35 MST." <Pine.BSF.3.95.970525175206.11253A-100000@current1.whistle.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>  There are several people including myself who have hacked login to chroot
>  before running the shell
>  
>  I even had a version that re-red the passwd file in the new chroot
>  environ and re-read the parameters from there. It turns out to be a very
>  simple hack.

FWIW, this is the sort of thing that login.conf's shell= variable was
invented for.

Regards,
David


David Nugent - Unique Computing Pty Ltd - Melbourne, Australia
Voice +61-3-9791-9547  Data/BBS +61-3-9792-3507  3:632/348@fidonet
davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/





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