Subject: Re: system messages in all windows
To: Georges Heinesch <ghmlist@ibm.net>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: port-amiga
Date: 08/20/1998 10:28:28
On Thu, Aug 20, 1998 at 01:28:42AM +0200, Georges Heinesch wrote:
> Quoting Ignatios Souvatzis (18-Aug-98 20:12:59):
> 
> >> When 'system messages' (e.g. failed logins) are displayed while
> >> running X in multiple windows, they are displayed in *all* windows!
> >> However, iirc, they should only be printed in xterm windows started
> >> with the '-C' (console) option. This doesn't seem to work properly
> >> in twm using xterm.
> >> 
> >> Should 'system messages' only be printed in '-C' started xterm
> >> windows or in all xterm windows?
> 
> > Depends.
> 
> > xterm -C is a console.
> 
> None of the xterms are started in xinitrc
> 
> ----- cut here -----
> twm &
> xclock -geometry 50x50-1+1 &
> xterm -geometry 80x50+494+51 &
> xterm -geometry 80x20+494-0 &
> exec xterm -geometry 80x66+0+0 -name login
> ----- cut here -----
> 
> > However, depending on how you configured /etc/syslog.conf, some
> > classes of messages might be forwarded to every root, or every
> > member of the "operator" group, in addition to or instead of
> > reaching the console or one of the log files.
> 
> > See man syslogd.
> 
> I looked also at syslog.conf(5). However, I had trouble to identify
> whether the reason for the prinint to all xterm windows is
> syslog.conf.
> 
> ----- cut here -----

this line:
> *.notice;auth.debug                              root

will forward every class notice and more urgent message, and every
authentication message, to every tty line were root is logged in.

If you start X as root, this is every single xterm.

Regards,
	is