[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lprm says "Permission denied" (fwd)



Philippe Troin (phil@fifi.org) wrote on 26 February 1997 09:34:
 >> lprm can't regonize that the user "spiegl" is a local user because of
 >> a problem with your hostname in /etc/hostname and /etc/hosts.
 >> 
 >> If /etc/hostname looks like
 >> 	your_hostname
 >> 
 >> then your /etc/hosts file should contain a line like this
 >> 	<your ip number>   your_hostname   your_hostname.somewhere.com
 >> 
 >> The order of the two names in /etc/hosts is very important.
 >
 >This is as simple as that !
 >This should be put ASAP in the lpd documentation.
 >But doesn't it conflict with the requirement that the official name for a machine (ie FQDN) should be put first in /etc/hosts ?

Yes. The suggestion is wrong, the suggestion is just a hack. The
problem is due to an incoherence between lprm/lpr/lpd. I sent a patch
for this last year, I think it was applied but it may have been
dropped. I haven't followed lpr*.deb since, because for me it's
working and I don't want to touch it ever again.

Besides this mess, lpr has security problems as well.

The real fix seems to go to lprng. That's the official position of the
maintainer as well, as stated in a msg. to this list last year. I'll
do it as soon as I have a chance.

Carlos


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: