From: Peter Mutsaers (muts@muts.hacktic.nl)
Date: 05/29/93


From: muts@muts.hacktic.nl (Peter Mutsaers)
Subject: Re: chroot for Linux
Date: Sat, 29 May 1993 17:11:37 GMT

In article <C7pEwu.4y@wyvern.wyvern.com> bcook@wyvern.wyvern.com (Buddy Cook) writes:

  I'm trying to set up a guest account and would like to chroot in the .profile
  to keep the guest in his home directory. I have a man page for chroot but no
  binary. Did I miss something during the installation or do I need to grab it
  from an FTP site? Thanks...

I would't put that in .profile. If you hit ^C fast enough execution of
.profile is aborted and you loose. Better create a /bin/sh (or
whatever login shell you use) which has a call to chroot(2) built in.

-- 
______________________________________________________________________
Peter Mutsaers       |  Bunnik (Ut),     |      Quod licet bovi,
muts@muts.hacktic.nl |  the Netherlands  |      non licet Jovi