[cups.development] [RFE] STR #2370: Provide a configure option for running the server as non-root

martin.pitt.canonical martin.pitt at canonical.com
Mon Apr 30 03:19:30 PDT 2007


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

BTW, for those playing along at home, this patch additionally needs some
permission changes in /etc/cups, such as changing

-      check_permissions(ServerRoot, NULL, 0755, RunUser, Group, 1, 0) < 0
||
+      check_permissions(ServerRoot, NULL, 03755, RunUser, Group, 1, 0) <
0 ||

in scheduler/conf.c and installing /etc/cups/cupsys.conf as cupsys:root
0644. I do not have a specific patch for this, the Debian/Ubuntu patch for
configuration file management is much larger. We need to disable a lot of
the default chmod/chowning, since for distributions it is unappropriate to
clobber the admin's customizations in /etc.

I'm happy to answer questions about this here, of course.

Link: http://www.cups.org/str.php?L2370
Version:  -feature





More information about the cups mailing list