Set options to deamons

Micah micahjon at ywave.com
Tue Sep 27 09:37:51 PDT 2005



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


More information about the freebsd-questions mailing list