Date: Wed, 25 Mar 1998 19:39:31 -0800 (PST) From: Sean Harding <sharding@ophelia.uoregon.edu> To: Joey Garcia <bear@pacificnet.net> Cc: BJ Bell <brian@centrisys.com>, freebsd-newbies@FreeBSD.ORG Subject: Re: my first time *sniff* Message-ID: <Pine.BSF.3.96.980325192806.22738C-100000@ophelia.uoregon.edu> In-Reply-To: <Pine.LNX.3.96.980325185831.140B-100000@mustang>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980325192806.22738C-100000>