On 12/17/2009 04:06 PM, Leif Hedstrom wrote:
We do need to fix the following as well, preferably with this "bug", but
I'm ok fixing it later:
./proxy/config/records.config.in:CONFIG proxy.config.admin.user_id
STRING nobody
./proxy/mgmt2/cop/TrafficCop.cc:static char admin_user[80] = "nobody";
and not sure if we need / want this (also in TrafficCop.cc):
// bitch if the admin user is not "nobody"
if (strncmp("nobody", admin_user, sizeof(admin_user)) != 0) {
cop_log(COP_WARNING, "proxy.config.admin.user_id should be \"nobody\"");
}
Think all of this can be the same user defined via --with-user
I'll modify the patch so that those consts gets setup via compile
time define (eg. -DSYS_USER="someuser").
Cheers
--
^TM