Feature Request: /usr/local/etc/rc.conf support

Ted Cabeen secabeen at pobox.com
Tue Feb 17 14:34:36 PST 2004

"Simon L. Nielsen" <simon at FreeBSD.org> writes:
> On 2004.02.17 13:33:25 -0800, Ted Cabeen wrote:
>> The system securelevel is set in the /etc/rc.conf file.  To prevent an
>> attacker from changing the securelevel defined there and then
>> rebooting the machine, I set the /etc/rc.conf file to be immutable.
>> However, I'd like to be able to install new ports and have them start
>> automatically without having to boot to single-user to modify rc.conf
>> (or any other configuration file equivalent to rc.conf).
> There is also the option of using the (yet) undocumented in FreeBSD [1]
> /etc/rc.conf.d/service files.  E.g. to enable rsyncd you would have
> /etc/rc.conf.d/rsyncd with the variable rsyncd_enable="YES" (Note: I
> haven't tested this, but I'm rather sure I'm reading the source and
> NetBSD manual page corrrectly).

Would that file only be parsed when starting a service with that name,
or would it be parsed at the beginning of the rc run?

Ted Cabeen           http://www.pobox.com/~secabeen            ted at impulse.net 
Check Website or Keyserver for PGP/GPG Key BA0349D2         secabeen at pobox.com
"I have taken all knowledge to be my province." -F. Bacon  secabeen at cabeen.org
"Human kind cannot bear very much reality."-T.S.Eliot        cabeen at netcom.com

More information about the freebsd-ports mailing list