Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!mips!winchester!jay From: jay@mips.COM (Jay McCauley) Newsgroups: comp.sys.mips Subject: Re: login and syslog question. Message-ID: <40764@mips.mips.COM> Date: 10 Aug 90 16:07:45 GMT References: <24581@boulder.Colorado.EDU> Sender: news@mips.COM Reply-To: jay@mips.COM (Jay McCauley) Organization: MIPS Computer Systems, Inc. Lines: 54 In article <24581@boulder.Colorado.EDU> hartzell@beagle (George Hartzell) writes: <> > 2) Can someone tell me how to get syslog to ignore/dump to > /dev/null the following messages? I don't need them > cluttering up my log files, I *KNOW* it's happening. > >Aug 9 00:16:27 beagle login: LOGIN TIMEOUT ON /dev/ttyi11, mkmkk[m[ >Aug 9 00:16:27 beagle login: LOGIN TIMEOUT ON /dev/ttyj9, mkmkk[m[ >Aug 9 00:16:41 beagle login: LOGIN TIMEOUT ON /dev/ttyh4, MJMJJRIS > These are LOG_WARNING messages, and can be ignored by changing /etc/syslog.conf to toss auth.warning. Here is the default syslog.conf: *.err;kern,mark.debug;auth.notice ?/dev/console *.err;kern,mark.debug;auth.notice /usr/adm/console_log *.err;kern.debug;daemon,auth.notice;mail.crit /usr/adm/messages lpr.debug /usr/adm/lpd-errs mail.debug /usr/spool/mqueue/syslog *.alert;kern.err;daemon.err operator *.alert root *.emerg * Change it to: *.err;kern,mark.debug ?/dev/console *.err;kern,mark.debug /usr/adm/console_log *.err;kern.debug;daemon.notice;mail.crit /usr/adm/messages lpr.debug /usr/adm/lpd-errs mail.debug /usr/spool/mqueue/syslog *.alert;kern.err;daemon.err operator *.alert root *.emerg * This does toss the baby with the bathwater, and as soon as you get the wiring fixed somehow (I only do software 8-)), I'd recommend turning back on the auth stuff, as it does provide useful system administrative input. After changing /etc/syslog.conf, you need to tap syslogd on the shoulder with a SIGHUP to get it to reread the file. Alternatively, you can kill syslogd and restart it. >Any help/suggestions appreciated. >g. >George Hartzell (303) 492-4535 > MCD Biology, University of Colorado-Boulder, Boulder, CO 80309 >hartzell@Boulder.Colorado.EDU ..!ncar!boulder!hartzell -- Jay McCauley MIPS Computer Systems, 928 E. Arques, Sunnyvale, CA 94086 (408)524-8211 {decwrl,pyramid,ames}!mips!jay jay@mips.com