From owner-freebsd-questions Fri Nov 15 1:17:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B47937B401 for ; Fri, 15 Nov 2002 01:17:57 -0800 (PST) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F03343E42 for ; Fri, 15 Nov 2002 01:17:56 -0800 (PST) (envelope-from fbsd-q@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.6/8.12.6) with ESMTP id gAF9Isrk077353; Fri, 15 Nov 2002 10:18:55 +0100 (CET) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.6/8.12.6/Submit) id gAF9IsqW077352; Fri, 15 Nov 2002 10:18:54 +0100 (CET) Date: Fri, 15 Nov 2002 10:18:54 +0100 From: Ruben de Groot To: patrick gibson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Console Messages Remotely Message-ID: <20021115091854.GB77298@ei.bzerk.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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