chroot'ed environments (Re: Secure (regular) Scripts_)
Jeremy J. Epstein
jje at virtech.uucp
Wed Jan 3 00:46:52 AEST 1990
In article <Y#DN!=@rpi.edu>, tale at cs.rpi.edu (David C Lawrence) writes:
> In article <2481 at pkmab.se> ske at 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
More information about the Comp.unix.wizards
mailing list