Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!virtech!jje From: jje@virtech.uucp (Jeremy J. Epstein) Newsgroups: comp.unix.wizards Subject: Re: chroot'ed environments (Re: Secure (regular) Scripts_) Summary: correct path name for symbolic links? Message-ID: <1990Jan2.134652.3443@virtech.uucp> Date: 2 Jan 90 13:46:52 GMT References: <9100020@m.cs.uiuc.edu> <562@mwtech.UUCP> <2481@pkmab.se> Organization: Virtual Technologies Inc. Lines: 21 In article , tale@cs.rpi.edu (David C Lawrence) writes: > In article <2481@pkmab.se> ske@pkmab.se (Kristoffer Eriksson) writes: > > Is there any way to allow a "chroot-ed" user to exchange mail and news > > with the rest of the system? I've tried to come up with a simple solution, > > but failed. The problem is that the spool directories for mail and news > > are not accessible from inside the "chroot-ed" environment. > > ... For example, > in a Berkeley enviroment you could put /chroot on a big partition with > /chroot/spool as one of the subdirectories. Make a link from > /var/spool/mail to /chroot/spool/mail and you're in business. Presumably that should be /chroot/usr/spool/mail or /chroot/var/spool/mail? Otherwise once you do the chroot to /chroot, the path name will be /spool, which probably wasn't what you had in mind. -- Jeremy Epstein TRW Systems Division 2750 Prosperity Avenue FV10/5010