Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

lp: connect: Permission denied error when printing

Status
Not open for further replies.

sharper

MIS
Sep 4, 2001
109
IE
Hello,

I'm running SCO Openserver 5.0.5 and I'm having difficulty printing to two remote printers. When logged in as root I can send a job to the printer and the printer prints all the jobs that were in the queue and the job sent by root. All further jobs sent by normal users do not print until root sends a job. When printing from a normal user the error message below is displayed:

request id is wb1-324
lp: connect: Permission denied
jobs queued, but cannot start daemon.

I then looked a Account manager and it failed to open the user database. running fixmog let me access the user database. Am I right in thinking that normal users do not have rights to start the lpd for the printer? I have checked all the files in /usr/spool/lp and all subdirs and their permissions are correct (I did a chmod -R 777 * from the /usr/spool/lp dir to no effect, fixmog returned the files to their correct settings). Is there some other file that users wishing to print need access to?

i am now bald


sharper
 
hi,

do you check the permission for the "lp" command ?
should be either in "/usr/sbin" or "/usr/bin".

hope this help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top