Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2000 23:14:59 -0400
From:      Ben Williams <williamsl@home.com>
To:        Gustavo Vieira Goncalves Coelho Rios <kernel@tdnet.com.br>
Cc:        questions@freebsd.org
Subject:   Re: syslogd
Message-ID:  <6968.000606@home.com>
In-Reply-To: <393DA3B6.2F156DCE@tdnet.com.br>
References:  <393DA3B6.2F156DCE@tdnet.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Did you HUP syslogd after you changed /etc/syslog.conf?

Quoting Gustavo Vieira Goncalves Coelho Rios                                Tuesday, June 06, 2000
GVGCR> Hi folks!


GVGCR> Every time i execute a "su -" to switch from a non-root account to root
GVGCR> one, i got  a notice on /dev/ttyv0:

GVGCR> Jun 6 19:23:20 su: grios to root on /dev/ttyp0  (for instance)

GVGCR> (looking into  /usr/src/usr.bin/su/su.c) i saw that su uses the
GVGCR> following flags to perform log to syslogd:

GVGCR> LOG_AUTH|LOG_WARNING;  or
GVGCR> LOG_NOTICE|LOG_AUTH

GVGCR> Why is this information being showed up in /dev/ttyv0 ?

GVGCR> here goes my syslog.conf:

GVGCR> #       Consult the syslog.conf(5) manpage.
GVGCR> #*.err;kern.debug;auth.notice;mail.crit         /dev/console
GVGCR> *.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
GVGCR> security.*                                      /var/log/security
GVGCR> mail.info                                       /var/log/maillog
GVGCR> lpr.info                                        /var/log/lpd-errs
GVGCR> cron.*                                          /var/log/cron
GVGCR> #*.err                                          root
GVGCR> #*.notice;news.err                              root
GVGCR> #*.alert                                                root
GVGCR> #*.emerg                                                *
GVGCR> # uncomment this to enable logging of all log messages to
GVGCR> /var/log/all.log
GVGCR> #*.*                                            /var/log/all.log
GVGCR> # uncomment this to enable logging to a remote loghost named loghost
GVGCR> #*.*                                            @loghost
GVGCR> # uncomment these if you're running inn
GVGCR> # news.crit                                     /var/log/news/news.crit
GVGCR> # news.err                                      /var/log/news/news.err
GVGCR> # news.notice                                  
GVGCR> /var/log/news/news.notice
GVGCR> !startslip
GVGCR> *.*                                             /var/log/slip.log
GVGCR> !ppp
GVGCR> *.*                                             /var/log/ppp.log


GVGCR> thanks for your time and cooperation.





   

--Ben Williams
mailto:received@email dot com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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