CUPS under RHEL 5

Ido Levy idol at il.ibm.com
Fri Feb 15 06:22:40 PST 2008


Tim,

Thank you very much for your tip I follow the advice below and everything worked as expected.

The backend I use is not one of backends that are provided with cups.

Thanks again !!!

>
> --=-n92g+kaOXJPmVOdcq6av
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
>
> On Thu, 2008-02-14 at 09:07 -0800, Ido Levy wrote:
> > I have noticed that cups is running as root
> >=20
> >         ps -ef | grep -i cups
> >=20
> >         root     27483     1  0 18:57 ?        00:00:03 cupsd
> >=20
> > but the backend that cups uses is running under user lp.
> >=20
> > 1) Is it suppose to work that way ?
>
> Yes.
>
> > 2) Can I change the configuration to force cups to run the backend as roo=
> t 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.
> */
>
>
> --=-n92g+kaOXJPmVOdcq6av
> Content-Type: application/pgp-signature; name=signature.asc
> Content-Description: This is a digitally signed message part
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
>
> iD8DBQBHtHnyaSWRox63mSMRAsfAAJ0eiJdX6/MLjYnAwAyHcTX6ls1s2wCgmTeu
> ag9V218S9Vm1Yb7DAi9zDS0=
> =pZJV
> -----END PGP SIGNATURE-----
>
> --=-n92g+kaOXJPmVOdcq6av--
>





More information about the cups mailing list