Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2002 10:18:54 +0100
From:      Ruben de Groot <fbsd-q@bzerk.org>
To:        patrick gibson <freebsd@patrickg.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Console Messages Remotely
Message-ID:  <20021115091854.GB77298@ei.bzerk.org>
In-Reply-To: <B9F994FF.70A9%freebsd@patrickg.com>
References:  <B9F994FF.70A9%freebsd@patrickg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 14, 2002 at 05:59:27PM -0800, patrick gibson typed:
> I like how when I su to root in FreeBSD, I get the console messages to my
> virtual tty. I have one server, though, where these messages are not being
> displayed. I haven't changed anything of which that I'm aware that would
> cause this, and my /etc/syslog.conf file seems okay:
> 
> *.err;kern.debug;auth.notice;mail.crit          /dev/console

This sends syslog messages to the console. If you su to root on a virtual tty, 
you're not on the console normally. To get the messages anyways put the following 
line in /etc/syslog.conf:

*.err;kern.debug;auth.notice;mail.crit		root

> 
> When I login remotely, and become root, I would like authentication errors
> and such to display on my terminal. I seem to remember once seeing an option
> that asked me if I wanted /dev/console to be redirected to any root tty, but
> for the life of me, I can't seem to locate where this option is. Does anyone
> know how I can (re-)activate this?
> 
> I'm running 4.6.2, by the way.
> 
> Thanks in advance,
> 
> Patrick
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021115091854.GB77298>