Path: utzoo!attcan!uunet!pyrdc!pyrnj!rutgers!mailrus!caen.engin.umich.edu!conliffe From: conliffe@caen.engin.umich.edu (Darryl C. Conliffe) Newsgroups: comp.sys.apollo Subject: Re: some uucp and sendmail questions Summary: lpd service does not require accounts on system Message-ID: <3e7421be.14df5@ulsoy.engin.umich.edu> Date: 14 Sep 88 02:21:00 GMT References: <480@ztivax.UUCP> Organization: U of M Engineering, Ann Arbor, Mich. Lines: 40 In article <480@ztivax.UUCP>, has@ztivax.UUCP (Hans-Albert Schneider) writes: > Hello, there! > > We have here two SUN 3/60 (running SunOS 3.5) and 5 APOLLO DN4000 > (2 diskless, 3 disked, running AEGIS sr9.7 and DOMAIN/IX 9.5). > The APOLLOs are connected via token ring, and one of them functions > as a gateway to the local ethernet to which the SUNs are connected, too. > None of the SUNs has a printer, but one of the APOLLOs has. > > 1) Now we would like to use this printer with the SUNs, too. The simplest > solution would be to configure the default printer of the SUNs, lp, to > be a remote printer on the APOLLO and let the rest to BSD4.2 lpd. > Unfortunately - due to the way lpd authenticates remote clients - > this requires that everybody who wants to print something from a SUN > has an account on the APOLLOs, too. [...] > > Hans-Albert Schneider From the man pages: Access control is provided in two ways. First, all print requests must come from one of the machines listed in the file /etc/hosts.equiv. Second, if the ``rs'' capability, which restricts remote use of a printer, is specified in the printcap entry for the printer requested, lpr requests will only be honored for users with accounts on the machine with that printer. Thus, Hans, you only need to enter your Sun node names in /etc/hosts.equiv to make them acceptable. Well, almost acceptable, but they'll be able to print, at least. That is, as long as you don't invoke the ``rs'' flag. It will require, however, proper functioning on the Ethernet. -- ___________________ Darryl C. Conliffe conliffe@caen.engin.umich.edu (313) 721-6069 -------------------