Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2005 09:37:48 -0700
From:      Micah <micahjon@ywave.com>
To:        Efren Bravo <efrenba@dhl.co.cu>
Cc:        freeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Set options to deamons
Message-ID:  <4339755C.3030502@ywave.com>
In-Reply-To: <WorldClient-F200509271232.AA32140009@dhl.co.cu>
References:  <WorldClient-F200509271232.AA32140009@dhl.co.cu>

next in thread | previous in thread | raw e-mail | index | archive | help


Efren Bravo wrote:
> Hi,
> 
> How do I set options to deamons? 
> 
> For instance, I've been reading a security doc and it says: "Syslogd can
> be attacked directly and it's strongly recommended that you use -s option
> whenever possible, and the -a option otherwise".
> 
> If Syslogd start when the OS start, how do I set the -s option.
> 
> Thank...
> 
Browse through /etc/defaults/rc.conf  You'll something similar to:

### Network daemon (miscellaneous) ###
syslogd_enable="YES"		# Run syslog daemon (or NO).
syslogd_program="/usr/sbin/syslogd" # path to syslogd, if you want a 
different one.
syslogd_flags="-s"		# Flags to syslogd (if enabled).
#syslogd_flags="-ss"		# Syslogd flags to not bind an inet socket

Looks like -s is the default.  If you wanted to change it add 
syslogd_flags="-whatever" to your /etc/rc.conf file.

Later,
Micah



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4339755C.3030502>