Sunil Sunder Raj wrote:

> Hi,
> Just give 777 permissions to /var/log/messages

With all due respect, but that is rather bad advice. I have been running syslog on 
FreeBSD 4.7R for years, without problem; and never ever did I have to resort to making 
/var/log/messages world-writeable. Besides, that is totally unnecessary too: syslogd 
runs as root, so only root needs write permissions (and, since it is root, probably 
not even that).

You can run syslogd like this:

    /usr/sbin/syslogd -s

Or something like:

    /usr/sbin/syslogd -a

if you need to log from remote machines. Your /etc/syslog.conf should look something 
like this:

*.err;kern.debug;mail.crit                      /var/log/messages
*.notice;;news.err                      /var/log/messages
security.*                                      /var/log/security                                       /var/log/maillog


- Mark

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to