The UNIX and Linux Forums  

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


SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
switching user from root to ordinary user sasia Shell Programming and Scripting 3 01-25-2008 07:25 PM
Other than root user .Normal user is unable to create files mallesh UNIX for Advanced & Expert Users 1 06-22-2005 09:18 AM
lpstat sskb UNIX for Advanced & Expert Users 3 02-21-2003 07:00 AM
lpstat -t stufine UNIX for Dummies Questions & Answers 2 08-06-2002 01:25 AM
root user hassan2 UNIX for Advanced & Expert Users 1 05-29-2002 11:15 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-12-2008
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
  #2  
Old 03-12-2008
Registered User
 

Join Date: Sep 2007
Posts: 13
Quote:
Originally Posted by checkpro View Post
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
Did you run "custom" to verify the system? That will fix perms (though LOOK at what it wants to fix). My lpstat is ---x--x--x bin lp 2964 bytes.. check /var/spool/lp/temp - s.b 777 bin/lp

--
Tony Lawrence
SCO Unix sco/meta_faq
Reply With Quote
  #3  
Old 03-13-2008
jgt jgt is offline
Registered User
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 348
Run "integrity -e" and see what gets listed.
Reply With Quote
  #4  
Old 09-10-2008
Registered User
 

Join Date: Aug 2008
Posts: 34
Check if the other no root user is in the system admin group or if he is a op.
and compare them both.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0