James Helferty <[EMAIL PROTECTED]> writes:
> Hi everyone.
>
>
> The lpr rpm in Mandrake 7.0 is buggy; no one but root may print!! (Note
> that this same rpm is in the current Mandrake Cooker release, so I'm not
> totally off-topic here. ;)
>
> In case anyone's interested in the error message (and hasn't read the
> newsgroup alt.os.linux.mandrake recently) it's:
>
> lpr: cannot open printer description file
>
> ..when you type "lpr" on the commandline. I have high security-level
> turned on, but I don't think this should be a problem. (And if it is,
> why isn't it documented..?!?)
No, this is the problem, /etc/printcap cannot be read by lpr, maybe lpr
check for access right on the file as it is suid.
To fix this problem, use chmod a+r /etc/printcap when root, although this
will give everyone access to /etc/printcap, this will help you waiting
for a correction.
I am checking lpr source for the problem.
>
> My printer is an Epson LQ570+, and has been properly configured from the
> printtool inside control-panel. lpd is running properly.
>
> The current fix that everyone's using is to downgrade to the version of
> lpr that comes with Mandrake 6.1, but if I recall correctly, there are
> some security problems with that version of lpr. (Something about a
> race condition that resulted in the ability of people without enough
> rights to view a file still being able to print it.)
>
> If the maintainer of this rpm isn't on the ml, can someone please pass
> along their e-mail address so I can inform them?
>
>
> Thanks,
>
> James
> --
> http://chat.carleton.ca/~jhelfert
Fran�ois.