[OpenWrt-Devel] PATCH: secure_mode config options for radvd (updated)

2012-01-08 Thread Adam Gensler
The purpose of this change is to allow users to configure radvd to run in unprivileged mode. Per the radvd man page: radvd(8) - Linux man page http://linux.die.net/man/8/radvd -u username, --username username If specified, drops root privileges and changes user ID to username and group ID to

Re: [OpenWrt-Devel] [PATCH] secure_mode config options for radvd [2/2]

2011-10-11 Thread Adam Gensler
All, Here's the second change for this, this time in the radvd.hotplug script. This needed to be tweaked slightly so it only issued a HUP to the unprivileged process. Index: radvd.hotplug === --- radvd.hotplug (revision 28379

Re: [OpenWrt-Devel] [PATCH] secure_mode config options for radvd [1/2]

2011-10-11 Thread Adam Gensler
All, Here's an updated version of the radvd.init patch. There's a slight adjustment here from the original version. Index: radvd.init === --- radvd.init (revision 28379) +++ radvd.init (working copy) @@ -407,6 +407,30 @@ r

Re: [OpenWrt-Devel] [PATCH] secure_mode config options for radvd

2011-10-08 Thread Adam Gensler
Hi Philip, Thanks for taking a look. To address your two comments: 1. I use Mail.app on Mac OS X 10.7 for email. I don't believe it has any attachment options that let me adjust that setting. I will investigate or perhaps use Thunderbird for this mailer. 2. About the UPPERCASE variable names.

Re: [OpenWrt-Devel] [PATCH] secure_mode config options for radvd

2011-10-08 Thread Philip Prindeville
On 10/8/11 11:17 AM, Adam Gensler wrote: > All, > > This is my first try at a patch and also my first attempt at parsing > /etc/config files in OpenWRT. If I've goofed something up please let me know. > The purpose of this change is to allow users to config radvd to run in > unprivileged mode.

Re: [OpenWrt-Devel] [PATCH] secure_mode config options for radvd

2011-10-08 Thread Philip Prindeville
On 10/8/11 11:17 AM, Adam Gensler wrote: > All, > > This is my first try at a patch and also my first attempt at parsing > /etc/config files in OpenWRT. If I've goofed something up please let me know. > The purpose of this change is to allow users to config radvd to run in > unprivileged mode.

Re: [OpenWrt-Devel] [PATCH] secure_mode config options for radvd

2011-10-08 Thread Adam Gensler
Hmm, it seems the process is dying when the hotplug script is activated. The HUP signal is terminating it when running with "-u". Back the drawing board here. Sorry for the premature email. On Oct 8, 2011, at 2:17 PM, Adam Gensler wrote: > All, > > This is my first try at a patch and also my f

[OpenWrt-Devel] [PATCH] secure_mode config options for radvd

2011-10-08 Thread Adam Gensler
All, This is my first try at a patch and also my first attempt at parsing /etc/config files in OpenWRT. If I've goofed something up please let me know. The purpose of this change is to allow users to config radvd to run in unprivileged mode. Per the radvd man page: radvd(8) - Linux man page ht