[cups.general] Q. Proper way to startup cupsd as a non-root user as opposed to debian hacks?

wtautz wtautz at cs.uwaterloo.ca
Tue Jun 6 07:01:17 PDT 2006


Michael, Does cups allow running as a non-root user? Obviously
I know I could just start it up as a non-root user but that clearly
implies it would have limited capabilities from the start.

Most daemons that run as a non-root user usually start up
as root and then exec a child with lesser priviledges *after*
they checked things like permissions and the like.

The debian boys have hardwired the userid cupsys into
the code. It would be nice if there were a way to do this
in a cleaner way using your original source. Perhaps a compile
time define or perhaps the USER variable could be used to
identify the userid that cupsd should run as? I know
you've deprecated RunAsUser but....

Thoughts?

walter
ps. Haven't extensively grepped through the code so perhaps
this feature is already there but isn't documented?





More information about the cups mailing list