All of lore.kernel.org
 help / color / mirror / Atom feed
* ipset: how to run non-root
@ 2006-11-18 22:49 Mike Wright
  2006-11-19  0:15 ` Maximilian Wilhelm
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Wright @ 2006-11-18 22:49 UTC (permalink / raw)
  To: netfilter

Hi all,

I'm trying to use ipset from a php script on an apache server.

ipset requires root user in order to execute, but the webserver is 
running as apache.  suexec is not a possibility because it won't execute 
programs with root permissions.  It is possible to have a cron job 
perform the task but that introduces a time delay.

I've tried changing ownership of ipset to apache:apache but that didn't 
work.  Still received the "must be root" warning.

I looked into the source of ipset.c but it seems like the socket() call 
must be done as root, and I don't know how to hack around that.

Does anybody know how I might accomplish this?

Thanks,
Mike Wright


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-11-20 19:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-18 22:49 ipset: how to run non-root Mike Wright
2006-11-19  0:15 ` Maximilian Wilhelm
2006-11-19  1:23   ` Mike Wright
2006-11-19  7:01     ` PINTU
2006-11-20 19:52   ` R. DuFresne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.