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. Normally I wouldn't use them as such, however, I did so to keep my additions inline with the rest of radvd.init. In any case, there's still some more work to be done such that unprivileged radvd plays nice with hotplug. I'm investigating further. Thanks, Adam On Oct 8, 2011, at 3:49 PM, Philip Prindeville wrote: > 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. 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 the primary group of username. This is recommended for security >> reasons. You might also need to use -p to point to a file in a username >> -writable directory (e.g. /var/run/radvd/radvd.pid). >> >> This patch can parse three new fields in /etc/config/radvd, under "config >> radvd", specifically: >> option secure_mode 1 >> option username 'nobody' >> option group 'nogroup' >> >> I think the above is fairly self explanatory. When run with the "-u" option, >> radvd spawns two processes, one with root privileges for interface >> configuration purposes and another, unprivileged process, for everything >> else. >> >> With none of these options configured radvd will operate as it always has. >> >> Any suggestions and / or input would be appreciated. As I said, this is my >> first crack at working with OpenWRT so there's a possibility I did something >> incorrect. >> >> Thanks in advance, >> Adam > > Also, I don't think it's the convention to use UPPERCASE variable names. > > -Philip > > _______________________________________________ > openwrt-devel mailing list > [email protected] > https://lists.openwrt.org/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
