Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!jato!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.unix.wizards Subject: Re: Secure (regular) Scripts_ Message-ID: <6671@jpl-devvax.JPL.NASA.GOV> Date: 27 Dec 89 19:54:32 GMT References: <9100020@m.cs.uiuc.edu> <562@mwtech.UUCP> <2481@pkmab.se> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 20 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. It's socket to me time! I don't know if this counts as a simple solution, but presuming you have sockets, you can use SMTP and NNTP to yourself. With NNTP you can likely read news transparently. To use SMTP, though, you'd probably have to pretend you were another machine to get it to forward your mail. But you can send mail with telnet. But you might be able to read your mail directly with FTP, depending on how /etc/shells is set up. Of course, if you can do that, there's little point in the chroot in the first place... Larry Wall lwall@jpl-devvax.jpl.nasa.gov