The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SCO
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-12-2008
checkpro checkpro is offline
Registered User
 

Join Date: Dec 2007
Posts: 4
non root user can't use lpstat

I don't know if anyone still looks at this forum or not, but here goes.
I've got two identical SCO OpenServer 5.0.7 machines, fully patched and updated. On one the non-root user can do lpstat -p and it will display a list of printers and their status, on the other:
$ lpstat -p
UX:lpstat: ERROR: The LP print service isn't running or can't be
reached.
TO FIX: Your request can't be completely handled
without the LP print service. If this
problem continues, get help from your
system administrator.
$

I've added the user to /etc/auth/subsystems/lp:
cchqsta1: printqueue,printerstat

It works as root, so It's got to be permissions. I've checked permissions on lpstat and all related files and directories...to the best of my knowledge.
Can anyone give me a list of files and directories associated with lpstat? I must be missing something somewhere. Everything I've compared to the "working" server is the same. I'm still googling to try and find an answer.

TJB
Reply With Quote
Forum Sponsor