[Dnsmasq-discuss] Nonroot problem

Edson 4lists at gmail.com
Fri Aug 11 03:57:06 BST 2006


I just coimpile the 2.33 version on my SuSE 9.0 box and it runs ok... as
root. but when I try to use the parameters '-u' and '-g' to change the
execution to 'dnsmasq' user and 'dnsmasq' group, that I created to run this
software peace, I see the message "failed to access /etc/ppp/resolv.conf:
Permission denied" on syslog.

 

When I start a command line execution with "dnsmasq -u dnsmasq -g dnsmasq -x
/var/run/dnsmasq/dnsmasq.pid" the message appears on syslog, but if I
execute "dnsmasq -u dnsmasq -g dnsmasq -x /var/run/dnsmasq/dnsmasq.pid -d"
(note the "-d") it works.

 

Is this a knowing behavior or a bug? What am I doing wrong?

 

Edson.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20060810/9ef3b289/attachment.html


More information about the Dnsmasq-discuss mailing list