Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!mcsun!hp4nl!philapd!ssp2!pb From: pb@idca.tds.PHILIPS.nl (Peter Brouwer) Newsgroups: comp.unix.i386 Subject: Re: uucp with tcp on 386/ix vers 2.0.2 Keywords: uucp tcp 386/ix Message-ID: <368@ssp2.idca.tds.philips.nl> Date: 9 Oct 89 11:19:11 GMT References: <255@cipher.UUCP> <182@inpnms.UUCP> Organization: Philips Telecommunication and Data Systems, The Netherlands Lines: 28 In article <182@inpnms.UUCP> logan@inpnms.UUCP (James Logan) writes: >In article <255@cipher.UUCP> russ@cipher.UUCP (Russ Harvey) writes: ># Hi, we have 5 ISC 386/ix version 2.0.2 machines ># connected via ethernet (WD8003E, ISC's TCP/IP), ># and want to do something natural like have ># the ability to print files on all machines, ># even though there is only one printer (HP LaserJet II). >If you want to use the real lp(1), copy the existing script for a >dumb printer in /usr/spool/lp/model, replace the "cat" with the >rshl command I mentioned, and create a new (default) printer type >with lpadmin(1M). You can also change the script to pass flags >to the remote lp(1) if you want. We made a new script for remote printers. In this script you can route each different class of printer to different remote machines. uux is used to execute the remote print job. Make a new device with lpadmin of the type of remote printer , writing to /dev/null. Assign for each class [ if used ] the class to the remote printer ( script ). This gives no security problems. The only thing to do is specify lp as allowed job in the Permissions file of the remote machine. that writes to /dev/null and -- Peter Brouwer, # Philips Telecommunications and Data Systems, NET : pb@idca.tds.philips.nl # Department SSP-P9000 Building V2, UUCP : ....!mcvax!philapd!pb # P.O.Box 245, 7300AE Apeldoorn, The Netherlands. PHONE:ext [+31] [0]55 432523, # Never underestimate the power of human stupidity