Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!usenet.ins.cwru.edu!hal!ncoast!allbery From: allbery@NCoast.ORG (Brandon S. Allbery) Newsgroups: comp.unix.i386 Subject: Re: chroot(1M) Message-ID: <1989Dec2.004722.20080@NCoast.ORG> Date: 2 Dec 89 00:47:22 GMT References: <10358@attctc.Dallas.TX.US> <1989Nov28.134104.6252@virtech.uucp> <628454203.18188@myrias.com> Reply-To: allbery@ncoast.ORG (Brandon S. Allbery) Followup-To: comp.unix.i386 Organization: North Coast Public Access UN*X, Cleveland, OH Lines: 20 As quoted from <628454203.18188@myrias.com> by dab@myrias.com (Danny Boulet): +--------------- | In article <1989Nov28.134104.6252@virtech.uucp> cpcahil@virtech.uucp (Conor P. Cahill) writes: | >A clean way to do this is to use a little known function of login (yes, it | >is documented). If login sees an * as the login shell for a particular user, | >it will chroot to the user's directory and re-execute /etc/login. | | Interesting. What versions of UNIX support this? +--------------- System V release 2 and later. It's referred to as "sublogin" if/when it's documented. ++Brandon -- Brandon S. Allbery allbery@NCoast.ORG, BALLBERY (MCI Mail), ALLBERY (Delphi) uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu bsa@telotech.uucp *(comp.sources.misc mail to comp-sources-misc[-request]@backbone.site, please)* *Third party vote-collection service: send mail to allbery@uunet.uu.net (ONLY)* expnet.all: Experiments in *net management and organization. Mail me for info.