[cups.general] CUPS under RHEL 5

Tim Waugh twaugh at redhat.com
Thu Feb 14 09:27:27 PST 2008


On Thu, 2008-02-14 at 09:07 -0800, Ido Levy wrote:
> I have noticed that cups is running as root
> 
>         ps -ef | grep -i cups
> 
>         root     27483     1  0 18:57 ?        00:00:03 cupsd
> 
> but the backend that cups uses is running under user lp.
> 
> 1) Is it suppose to work that way ?

Yes.

> 2) Can I change the configuration to force cups to run the backend as root also ?

Yes.  Run this command as root:

chmod 700 /usr/lib/cups/backend/{the_backend}

(substitute the name of your backend).  This is a sort of 'secret code'
to cupsd.  When cupsd runs the backend it checks the permissions to see
if they are 'rwx------' and, if so, runs the backend as root.

However, if you are using one of the backends provided, it should
already run with sufficient privilege.  Which backend is it, and what is
going wrong?

Tim.
*/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.cups.org/pipermail/cups/attachments/20080214/f36e3b46/attachment.bin>


More information about the cups mailing list