How to Make Solaris Reject Remote Logging

Posted February 27, 2004 by lvance in Solaris system administration

These instructions explain how to make Solaris reject remote logging from other devices.

Syslogd will reject remote logging if syslogd -t is enabled.

syslogd -t will turn on sysloging, but it will not receive remote logging from other devices.

The best way to enable syslogd -t is to go to /etc/init.d/syslog and edit the script. Go to line:
/usr/sbin/syslogd >/dev/msglog 2>&1 &

and edit it with the -t option as in the example below:

/usr/sbin/syslogd -t >/dev/msglog 2>&1 &

Then start syslogd again and verify with a ps -ef | grep.

The Conversation

Follow the reactions below and share your own thoughts.