[Gllug] /dev/console
Paul Nasrat
pauln at truemesh.com
Mon May 19 10:24:47 UTC 2003
On Mon, May 19, 2003 at 09:31:19AM +0100, John Hearns wrote:
> Or maybe autologin a user with a very restricted shell and use write?
You don't need to login, you can just run something direct from init.
open or openvt seem to do the job.
http://www.luv.asn.au/overheads/virtualconsoles.html
Conversely you could get your application to use syslog using one of the
local syslog levels and get it to go to a tty by adding a line to
syslog.conf
eg local0.* /dev/tty10
They nice thing about openvt is that it can switch to the console so you
could get it to tail a file or something.
Paul
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list