On Wed, 27 Jul 2016, Jafar Al-Gharaibeh wrote:

Configuration-wise, if you don't configure user/group (via, --enable-user and --enable-group) you get user=group=quagga by default. If you do configure them then you get what you configure. I have tried --disable-user and --disable-group and it was equivalent to setting the user/group to root. Would it make sense to make --disable-user and --disable-group unset QUAGGA_USER and QUAGGA_GROUP in the configuration to trigger the new behavior (one of what you described below)?

That'd make sense to me.

As it stands this is the only change needed to make things work, although I like your third suggestion so I will try and get that to work as well.

That'd be the ideal, if you can make that work. Should just need tweaks to the zprivs_init path I think. As long as you end up with it not having tried to change UID, and having set zprivs->change = zprivs_change_caps, then should hopefully work I think.

regards,
--
Paul Jakma | p...@jakma.org | @pjakma | Key ID: 0xD86BF79464A2FF6A
Fortune:
Above all things, reverence yourself.

_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to