From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6e65664e923f0436,start X-Google-Attributes: gidfee84,public X-Google-Thread: fa8e5,6e65664e923f0436,start X-Google-Attributes: gidfa8e5,public From: Erik Persson (eripe@ikp.liu.se) Subject: CAP printing on Digital Unix Date: 1996/07/11 Message-ID: #1/1 X-Deja-AN: 167691698 sender: erik@elgar.ikp.liu.se content-type: text/plain; charset=us-ascii organization: IKP - Linkoping University mime-version: 1.0 newsgroups: comp.protocols.appletalk,comp.unix.osf.osf1 I just set up CAP and papif on my Digital Unix 3.2d server. According to the pieces of documentation (which descrbed CAP printing on SunOS 4 or something) papif (which does not run as root) needs direct read/write access to the network interface which on the Sun could be accesed through the /dev/nit device. Write permissions in this case are granted by giving both papif and /dev/nit the same gid and making papig setgid. As far as I can see this possibility does not exist on Digital Unix as there is no device file for the ethernet interface. This causes papif, when launched by lpd, to complain about "permission denied" on the ethernet interface - ln0. This is not a big problem as it can be circumvented by making papif setuid root, but it is indeed an annoying one as I like to keep the amount of obscure, setuid binaries as few as possible. So tell me, please! Am I doing something completely wrong? Are there other ways to fix this? Thanks /Erik