* CAP printing on Digital Unix
@ 1996-07-11 4:00 Erik
1996-07-11 4:00 ` Mike Iglesias
0 siblings, 1 reply; 2+ messages in thread
From: Erik @ 1996-07-11 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CAP printing on Digital Unix
1996-07-11 4:00 CAP printing on Digital Unix Erik
@ 1996-07-11 4:00 ` Mike Iglesias
0 siblings, 0 replies; 2+ messages in thread
From: Mike Iglesias @ 1996-07-11 4:00 UTC (permalink / raw)
In article <t091crpqh8.fsf@elgar.ikp.liu.se>,
eripe@ikp.liu.se <Erik Persson> wrote:
>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.
Change the protection on /dev/pf/pfilt0, assuming your kernel
has the packetfilter stuff setup (it's an option in the kernel
config file). You need the packetfilter stuff for CAP to work
correctly.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-07-11 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-11 4:00 CAP printing on Digital Unix Erik
1996-07-11 4:00 ` Mike Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox