chroot(1M)
Conor P. Cahill
cpcahil at virtech.uucp
Sat Dec 2 13:49:51 AEST 1989
In article <628454203.18188 at myrias.com>, dab at myrias.com (Danny Boulet) writes:
> 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?
I have found it documented back to System V Release 2.1. I don't know
where it started. I never noticed it until I was working on some
modifications to login in system V Release 3.
--
+-----------------------------------------------------------------------+
| Conor P. Cahill uunet!virtech!cpcahil 703-430-9247 !
| Virtual Technologies Inc., P. O. Box 876, Sterling, VA 22170 |
+-----------------------------------------------------------------------+
More information about the Comp.unix.i386
mailing list