Secure (regular) Scripts_

Larry Wall lwall at jpl-devvax.JPL.NASA.GOV
Thu Dec 28 06:54:32 AEST 1989


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.

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 at jpl-devvax.jpl.nasa.gov



More information about the Comp.unix.wizards mailing list