The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SCO
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


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.


Other UNIX.COM Threads 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 06: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 06: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 (permalink)  
Old 03-12-2008
Registered User
 

Join Date: Dec 2007
Posts: 4
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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 (permalink)  
Old 03-12-2008
Registered User
 

Join Date: Sep 2007
Posts: 13
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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 (permalink)  
Old 03-13-2008
jgt jgt is offline
Registered User
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 348
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Run "integrity -e" and see what gets listed.
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:13 PM.


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

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102