From owner-freebsd-security Wed Jan 12 11:29:21 2000 Delivered-To: freebsd-security@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 9470C1522B for ; Wed, 12 Jan 2000 11:29:16 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id OAA11492; Wed, 12 Jan 2000 14:33:05 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <200001121933.OAA11492@cc942873-a.ewndsr1.nj.home.com> Subject: Re: console disappears after reboot In-Reply-To: <387CCBEF.6F49D1CF@algroup.co.uk> from Adam Laurie at "Jan 12, 2000 06:46:07 pm" To: adam@algroup.co.uk (Adam Laurie) Date: Wed, 12 Jan 2000 14:33:04 -0500 (EST) Cc: cjclark@home.com, security@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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