Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2000 14:33:04 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        adam@algroup.co.uk (Adam Laurie)
Cc:        cjclark@home.com, security@FreeBSD.ORG
Subject:   Re: console disappears after reboot
Message-ID:  <200001121933.OAA11492@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <387CCBEF.6F49D1CF@algroup.co.uk> from Adam Laurie at "Jan 12, 2000 06:46:07 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Adam Laurie wrote,
> Crist J. Clark wrote:
> 
> > > Anyway, to cut a long story short, I would prefer to simply do something
> > > in /etc/rc.local to force the console back to local kb/vga, or disable
> > > the serial console in the kernel itself... so my question is: what? Is
> > > there such a command/setting?
> > 
> > If a console has "died," you should,
> > 
> >     # kill -HUP 1
> > 
> > To refresh. Rebooting the machine a second time should not be
> > necessary. Since you can access the machine's remotely, this should
> > work.
> 
> Unfortunately not. I assume it only tries to refresh the serial console.

I don't think so. Is the getty(8) for the device (I assume ttyv0) still
in the ps(1) output? If it is, perhaps kill it. Either kill it dead
and SIGHUP init(8) to start the new one, or maybe some signal (a HUP?)
refreshes a getty.
-- 
Crist J. Clark                           cjclark@home.com


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




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