From owner-freebsd-questions Tue Jun 6 20:15:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.tn.home.com (ha1.rdc1.tn.home.com [24.2.7.66]) by hub.freebsd.org (Postfix) with ESMTP id 06CC437BC93 for ; Tue, 6 Jun 2000 20:15:48 -0700 (PDT) (envelope-from williamsl@home.com) Received: from RELIABLE ([24.4.115.31]) by mail.rdc1.tn.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000607031546.OIK25427.mail.rdc1.tn.home.com@RELIABLE>; Tue, 6 Jun 2000 20:15:46 -0700 Date: Tue, 6 Jun 2000 23:14:59 -0400 From: Ben Williams X-Mailer: The Bat! (v1.39) Personal Organization: Williams Enterprises X-Priority: 3 (Normal) Message-ID: <6968.000606@home.com> To: Gustavo Vieira Goncalves Coelho Rios Cc: questions@freebsd.org Subject: Re: syslogd In-reply-To: <393DA3B6.2F156DCE@tdnet.com.br> References: <393DA3B6.2F156DCE@tdnet.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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