From owner-freebsd-newbies Wed Mar 25 19:39:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA05948 for freebsd-newbies-outgoing; Wed, 25 Mar 1998 19:39:47 -0800 (PST) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from ophelia.uoregon.edu (sharding@ophelia.uoregon.edu [128.223.194.42]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA05933 for ; Wed, 25 Mar 1998 19:39:32 -0800 (PST) (envelope-from sharding@ophelia.uoregon.edu) Received: from localhost (sharding@localhost) by ophelia.uoregon.edu (8.8.8/8.8.7) with SMTP id TAA23152; Wed, 25 Mar 1998 19:39:31 -0800 (PST) (envelope-from sharding@ophelia.uoregon.edu) Date: Wed, 25 Mar 1998 19:39:31 -0800 (PST) From: Sean Harding Reply-To: Sean Harding To: Joey Garcia cc: BJ Bell , freebsd-newbies@FreeBSD.ORG Subject: Re: my first time *sniff* In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 25 Mar 1998, Joey Garcia wrote: > Which console messages? I always hated the stupid message that would > occur everytime I logged in as root on another virtual terminal. Is this > the message(s) that you are referring to? If so, how did you disable > them? That's cause by syslog; you probably have a line in /etc/syslog.conf including something like "auth.notice /dev/console". So, you cold comment out this line, but it probably has stuff besides auth going to the console that you odn't want to lose. So, you could remove auth.notice, or you could add auth.none to the end. If it helps anyone, here is my syslog.conf (notice that it *does* have auth logging to the console): # Log very important stuff to the console *.err;kern.debug;auth.notice;mail.crit /dev/console # A basic summary goes to messages *.notice;kern.debug;lpr.info;mail.crit;auth.none /var/log/messages # If user netlog (a pseudo-login with a disabled shell for log monitoring) # is logged in, they get everything but mail stuff. *.*;mail.none netlog # Log all mail stuff except for debugging info to maillog mail.info /var/log/maillog # Printing errors lpr.info /var/log/lpd-errs # Root, if logged in, hears about important things *.err root *.notice root *.alert root # Send emergency info to everyone logged in. User processes are not # allowed to do this *.emerg;user.none * # Log auth info to auth and to a remote secure log host auth.* /var/log/auth #auth.* @loghost # Log local stuff to the correct file local3.* /var/log/fingerlog local2.info /var/log/sudolog local4.* /var/log/sshdlog # Put *everything* into debug; this log is rotated often and is # useful when something weird is going on *.debug /var/log/debug # The timecheck can be useful for figuring out when a machine crashed/ # went down, etc. mark.debug /var/log/timecheck To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message