chroot(1M)

Brandon S. Allbery allbery at NCoast.ORG
Sat Dec 2 11:47:22 AEST 1989


As quoted from <628454203.18188 at myrias.com> by dab at myrias.com (Danny Boulet):
+---------------
| In article <1989Nov28.134104.6252 at virtech.uucp> cpcahil at 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 at NCoast.ORG, BALLBERY (MCI Mail), ALLBERY (Delphi)
uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery at hal.cwru.edu bsa at telotech.uucp
*(comp.sources.misc mail to comp-sources-misc[-request]@backbone.site, please)*
*Third party vote-collection service: send mail to allbery at uunet.uu.net (ONLY)*
expnet.all: Experiments in *net management and organization.  Mail me for info.



More information about the Comp.unix.i386 mailing list