Can not locate a thread to answer - Have solution to post

I have found answer to this issue, But I could not figure how to reply to thread.

I could search for this thread using "only root can print"

Please let me how i can find this thread and answer for public.

Thanks
Sunil Sharma

03-02-2005
bsnavarra
Registered User Join Date: Mar 2005
Posts: 3

Only root can print

--------------------------------------------------------------------------------

Hi, I have this strange problem. Only root users can print, normal users cannot and no errors are shown, the command is just ignored. I am sure its a problem with rights but dont know where....I hope you can help, thanks.

bsnavarra
View Public Profile
Send a private message to bsnavarra
Find all posts by bsnavarra
Add bsnavarra to Your Buddy List

#2 03-02-2005
RTM
Moderate Moderator Join Date: Apr 2002
Location: On my motorcycle
Posts: 2,739

Is this printing from command line or from within an application? New server or just new problem? What's the OS AND version?

You state no error are shown - have you looked in your messages file or just stating "no errors are shown ON SCREEN WHEN normal users attempt to print"?

Check your lp binaries - if they have the wrong ownership or permissions, ordinary users won't be able to print.
Check your /tmp directory permissions - known issue of some 3rd party apps changing permissions on /tmp and then folks can no longer print.
Check permissions on /usr/spool/lp and/or /var/spool/lp

Please post back with the requested information or your solution if found.

RTM
View Public Profile
Send a private message to RTM
Find all posts by RTM
Add RTM to Your Buddy List

#3 03-02-2005
bsnavarra
Registered User Join Date: Mar 2005
Posts: 3

from an application, I havnt yet tried from the command prompt. New problem, I am using SCO OpenServer 5.0.6.

Have not checked the messages file, but no errors are shown on the user screen and either on the console screen. Also there is no job in the printer queue.

What must the persmissions be on the lp binaries?

Thanks for helping..

bsnavarra
View Public Profile
Send a private message to bsnavarra
Find all posts by bsnavarra
Add bsnavarra to Your Buddy List

#4 03-02-2005
RTM
Moderate Moderator Join Date: Apr 2002
Location: On my motorcycle
Posts: 2,739

Is this a local printer (attached to the SCO server) or a network printer?

If it's a network printer, first check the permission on /etc/hosts:
See SCO - Non-root users are unable to print to (JetDirect) network printers

And since I can't seem to find the right information:
SCO - printing a file - this should assist somewhat.

RTM
View Public Profile
Send a private message to RTM
Find all posts by RTM
Add RTM to Your Buddy List

#5 03-02-2005
bsnavarra
Registered User Join Date: Mar 2005
Posts: 3

its a local printer connected directly to the server via a serial DigiBoard.

I will try this printing to a file bit to see what happens.