Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!nbires!hao!boulder!sunybcs!rutgers!pbox!romed!svo!okstate!vasoll From: vasoll@a.cs.okstate.edu (Mark Vasoll) Newsgroups: comp.unix.questions,comp.bugs.sys5 Subject: Re: SysV lp spooler a security hole Message-ID: <2546@okstate.UUCP> Date: Thu, 10-Sep-87 12:48:52 EDT Article-I.D.: okstate.2546 Posted: Thu Sep 10 12:48:52 1987 Date-Received: Sat, 12-Sep-87 15:57:16 EDT References: <313@pvab.UUCP> <1284@mhres.mh.nl> <1986@kitty.UUCP> Organization: Oklahoma State Univ., Stillwater Lines: 33 Summary: An example of just how far you can go with System V lp Xref: mnetor comp.unix.questions:4001 comp.bugs.sys5:209 I've been reading about the various uses that people have dreamed up for System V lp and thought I would contribute my own... I wrote an interface module that will open an outbound async port (ala UUCP style) and execute a script controlled conversation with whatever might be there (e.g. a "smart" modem, a data switch, etc., in our case a Case Communications DCX 850) to establish a connection to the destination printer, print the job, then return to the script for any needed "disconnect" conversation (reseting the modem or whatever). With this and it's compliment that a friend of mine wrote for VAX/VMS's Symbiont modification facilities, we can have printers all across campus that are simply attached to our data switch and are shared between all UNIX System V and VMS systems. Another interface we did is somewhat stranger. It packages up the print job as a mail message and mails it to a remote VMS system that is equipt with VMS/PMDF, which then uses the DELIVER facility (provided as part of the PMDF distribution) to unpack the job and issue a PRINT command with the /switches coming from the subject line of the message. This one is just a shell script on the UNIX system and a .COM file on the VMS system. All of this can be made available, after a little more testing, if there is any interest. Cheers, -- Mark Vasoll Computing and Information Sciences Internet: vasoll@a.cs.okstate.edu Oklahoma State University UUCP: {cbosgd, ihnp4, rutgers, seismo, Stillwater, Oklahoma uiucdcs}!okstate!vasoll