Hello,
On Fri, 5 Jan 2001, Jeffrey S. Coppock wrote:
> I tried the echo redirect below and was told 'permission denied', so I
> tried it as root and it worked, the printer printed the message.
> I chmod 0666 /dev/lp0 and it worked without su.
So it isn't the kernel config that's wrong.
> The lpd.conf file has all options commented out.
Same here.
> ACCEPT SERVICE=C SERVER REMOTEUSER=root
> ACCEPT SERVICE=C LPC=lpd,status,printcap
> REJECT SERVICE=C
> ACCEPT SERVICE=M SAMEHOST SAMEUSER
> ACCEPT SERVICE=M SERVER REMOTEUSER=root
> REJECT SERVICE=M
> DEFAULT ACCEPT
looks fine to me too.
> lp|dj952c|HP Deskjet 952C:\
> :lp=/dev/lp0:sd=/var/spool/lpd/dj952c:\
> :sh:pw#80:pl#66:px#1440:mx#0:\
> :if=/etc/magicfilter/dj690c-best-filter:\
> :af=/var/log/lp-acct:lf=/var/log/lp-errs:
looks ok too.
> Also, nothing is being logged and nothing shows up in the queue (lpq).
No errors in /var/log/lp-errs of in /var/log/lp-acct?
Check the file permissions for the spool directory's and the file's that
are in these directory's. Also make sure that lpr is setuid-root.
You can also use the -D switch to turn debuggin on. Maybe it gives you
more usefull information 'bout what's going wrong.
Greetz,
Jo
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]