Great Circle Associates Firewalls
(February 1994)

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Can you print from a chroot'd process?
From: mjr @ tis . com
Date: Fri, 11 Feb 94 22:31:53 EST
To: Firewalls @ GreatCircle . COM, johng @ weema . chi . uwa . edu . au

>My problem is that users of the package need to be able to print.
>How can I do this from within a chroot'd process (with min effort :-) without
>impacting normal (non chroot) users?

	Should be able to make a lpd spool directory, copy in a copy
of "lpr" and /etc/printcap, and then make all the printer entries
"rm=" remote machine entries, so it goes to the local host over the
network. I think that will work, but man is it ugly. Expect some
serious fiddling to make it work.

	Another possibility is to have it write to a file in some
queue directory and have something someplace else sweep the directory
every 5 minutes and print anything it finds. That part need not be
under the chroot.


Indexed By Date Previous: Re: Gopher server on a unix host
From: oconnor @ reston . ans . net (Michael J. O'Connor)
Next: Boy, won't CERT love me now
From: erikb @ mindvox . phantom . com
Indexed By Thread Previous: Can you print from a chroot'd process?
From: John Gibbins <johng @ weema . chi . uwa . edu . au>
Next: Re: Can you print from a chroot'd process?
From: George Hartzell <hartzell @ postgres . Berkeley . EDU>

Search Internet Search