1833049 Members
2431 Online
110049 Solutions
New Discussion

lp fails to print

 
Lenin Dasan S.
Occasional Contributor

lp fails to print

when a regular user fire a print job get the error as' lp: can't set user id to LP Administrator's user id '
can any one suggest that what could be the problem?
4 REPLIES 4

Re: lp fails to print

Hello,

Check your /etc/passwd and /etc/group files, you should have :

In passwd file :
lp:*:9:7::/var/spool/lp:/sbin/sh

and in group file :
lp::7:root,lp

check also their permissions.

If no result, try :
#swverify PrinterMgmt

and check for errors and fix them.

Regards,
Nourredine


Dennis Handly
Acclaimed Contributor

Re: lp fails to print

Also check the permission of lp:
-r-sr-xr-x 1 root bin
Lenin Dasan S.
Occasional Contributor

Re: lp fails to print

Hi Dennis Handly,
Thank you
when i throughly checked it & set +s then it's worked.
but so far it has been running with out no problem. How?
Dennis Handly
Acclaimed Contributor

Re: lp fails to print

>but so far it has been running without no problem. How?

Perhaps the "can't set user id" was just a warning and it copied it?