Mailinglist Archive: opensuse-security (174 mails)

< Previous Next >
Re: [suse-security] Permissions for /var/spool/lpd ?
  • From: Robert Casties <robert.casties@xxxxxxxxxxxxxx>
  • Date: Tue, 16 Nov 1999 19:03:13 +0100 (CET)
  • Message-id: <Pine.LNX.4.10.9911161606560.462-100000@xxxxxxxxxxxxx>
On Tue, 16 Nov 1999, Lenz Grimmer wrote:

I recently installed the latest version (I think):

[athene] ~ $ rpm -q lprold
lprold-3.0.44-3

Try once more. The latest package on the ftp server is 3.0.44-8

Okay, this one is doing fine so far.

It seems to do some checking of permissions by looking in /etc/printcap.
Cleverly done but in my case it tripped over the commented out examples in
the stock printcap file and complained but there were no further problems.

The one thing it still doesn't do properly is remote printing to another
linux machine. It creates control files with the wrong group like

-rw-rw---- 1 root root 39 Nov 16 18:57 cfA004hera.unibe.ch
-rw-rw---- 1 root lp 145023 Nov 16 18:57 dfA004hera

and then complains:

Nov 16 18:57:59 athene lpd[5364]: unlink file=dfA004hera, ret=-1, errno=13
Nov 16 18:58:02 athene lpd[5364]: lp: job could not be sent to remote host
(cfA004hera.unibe.ch)
Nov 16 18:58:02 athene lpd[5364]: Can't create temp cfp file
Nov 16 18:58:06 athene last message repeated 1016 times
Nov 16 18:58:06 athene lpd[5364]: lp: can't scan /var/spool/lpd/lpexwi

A dirty fix by trying to set the directory sgid lp seemed to throw lpd in
a loop.

Cheers
Robert

--
Robert Casties --------------------- http://philoscience.unibe.ch/~casties
History & Philosophy of Science Tel: +41/31/631-8505 Room: 216
Institute for Exact Sciences Sidlerstrasse 5, CH-3012 Bern
Uni Bern (PGP key on homepage: D7 2B DE 64 2D 65 16 A0)


< Previous Next >
References