APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Got questions? Go ahead: Ask me anything!

only root user can print, normal users cannot



Author: Brian
Date: Wed Mar 2 14:50:39 2005


Subject: only root user can print, normal users cannot

Hi, i am using SCO OpenServer 5.0.6 and i have this strange problem. Only root users can print, normal users cannot print and no errors are shown. I am sure its a rights problem but dont know where...I hope you can help me. Thanks


Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> only root user can print

2 comments



Increase ad revenue 50-250% with Ezoic


More Articles by © Brian







Wed Mar 2 15:13:40 2005: 100   TonyLawrence

gravatar
It's most likely permissions on the lp binaries themselves- these are setuid on and if that is lost, or if they have the wrong ownership, ordinary users can't print.

This can come from running "mkdev rlp" twice on older OSes: If you have done that (or suspect that you have because things are very broken in the printing department), see (link)



See (link) also



Wed Mar 2 18:21:56 2005: 101   TonyLawrence

gravatar
Just for completeness, if it were just ONE printer with this problem, it would be in the users.allow file for that printer (/usr/spool/lp/admins/lp/printers/printername/). One way to get that can be from using the SCO Openserver Duplicate Printer function on some versions - it may create a "users.allow" file that includes all current users. If you did this before adding users, only root would be in there. Unfortunately, users added later won't be automatically added to that file, so you may want to delete it.

But I'm sure this is lack of proper perms.





------------------------
Kerio Samepage


Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us





Technology is a word that describes something that doesn’t work yet. (Douglas Adams)





This post tagged: