Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2007 19:25:57 -0700 (PDT)
From:      youshi10@u.washington.edu
To:        freebsd-questions@freebsd.org
Subject:   Re: redirect /dev/console to a file
Message-ID:  <Pine.LNX.4.43.0703261925570.4053@hymn02.u.washington.edu>
In-Reply-To: <46087BB8.6080606@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 Mar 2007, Kevin Kinsey wrote:

> Neil Short wrote:
>> I'd like to redirect /dev/console to some file that
>> can be read by the xrootconsole port.
>> 
>> Is this ambition feasible?
>> 
>> I like the functionality of xconsole; but it's not
>> very pretty.
>> 
>
> According to the default /etc/syslog.conf, you should
> be able to enable syslogd to log to a file, and then
> run xrootconsole on that, I should imagine. ??
>
> Details are found there, IIRC.
>
> HTH,
>
> Kevin Kinsey
> -- 
> I am firm.  You are obstinate.  He is a pig-headed fool.
> 		-- Katharine Whitehorn

Yes, you can do that from /etc/syslog.conf. Don't have my PC right in front of me right now, but doing that's trivial. Want to make sure you have permissions for the file though because (if memory served me correctly) syslog's security settings are fairly restrictive by default (mode: 600 owned by root, or something similar).

-Garrett




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