Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jun 2000 22:21:58 -0300
From:      Gustavo Vieira Goncalves Coelho Rios <kernel@tdnet.com.br>
To:        questions@freebsd.org
Subject:   syslogd
Message-ID:  <393DA3B6.2F156DCE@tdnet.com.br>

next in thread | raw e-mail | index | archive | help
Hi folks!


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

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

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

LOG_AUTH|LOG_WARNING;  or
LOG_NOTICE|LOG_AUTH

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

here goes my syslog.conf:

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


thanks for your time and cooperation.



-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect!

Reboot now?   [ OK]


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?393DA3B6.2F156DCE>