Date: Tue, 14 Feb 2006 13:52:33 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Doug Barton <dougb@freebsd.org> Cc: Anders Nordby <anders@freebsd.org>, Harti Brandt <harti@freebsd.org>, kuriyama@freebsd.org, freebsd-net@freebsd.org, demon@freebsd.org Subject: Re: bsnmpd Message-ID: <20060214215233.GA23444@odin.ac.hmc.edu> In-Reply-To: <43F24880.3040208@FreeBSD.org> References: <20060213173008.GA14643@totem.fix.no> <20060214090531.X5083@beagle.kn.op.dlr.de> <20060214083010.GB41864@totem.fix.no> <20060214093513.F5083@beagle.kn.op.dlr.de> <20060214084459.GL86448@cell.sick.ru> <20060214103723.GA45138@totem.fix.no> <20060214103901.GB68308@cell.sick.ru> <20060214105821.GA47035@totem.fix.no> <20060214154833.I5083@beagle.kn.op.dlr.de> <43F24880.3040208@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 14, 2006 at 01:15:44PM -0800, Doug Barton wrote: > Harti Brandt wrote: > > On Tue, 14 Feb 2006, Anders Nordby wrote: >=20 > > AN>- Ability to chroot itself (yes please, for security). > >=20 > > I don't have enough rc-foo for this. Perhaps someone can jump in here? >=20 > This actually isn't all that hard. Basically you set $name_chroot to the > directory it should chroot too. It's also a good idea to include that > directory in required_dirs. If the bsnmpd binary has it's own chroot comm= and > line option, take a look at how rc.d/named does it in HEAD. Otherwise, th= ere > are notes in /etc/rc.subr and, the freebsd-rc@ list stands ready to help.= :) and don't follow the example in /etc/rc.d/ntpd since it can't work with modern versions of devfs. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFD8lEgXY6L6fI4GtQRAs1aAJ9MeEWWAogEjbU/QC+wjjhwNziWJgCeMosP Y2b4pvQYJTkEDRzUL+hyboo= =heZp -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060214215233.GA23444>