*BSD News Article 41823


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!caen!hookup!swrinde!howland.reston.ans.net!Germany.EU.net!EU.net!sun4nl!fwi.uva.nl!vdlinden
From: vdlinden@fwi.uva.nl (Frank van der Linden)
Newsgroups: comp.os.386bsd.questions
Subject: Re: NetBSD1.0-Amiga getty trouble
Date: 30 Jan 1995 14:32:59 GMT
Organization: FWI, University of Amsterdam
Lines: 18
Distribution: world
Message-ID: <3gitar$42j@mail.fwi.uva.nl>
References: <3giiem$76d@panix3.panix.com>
NNTP-Posting-Host: grab.fwi.uva.nl
Keywords: NetBSD getty Amiga

twallace@panix.com (Thomas Wallace) writes:

>Cu responds with permission denied, line busy. So who has the line? ps -j
>tells of .../libexec/getty -s. I try killing the pesky bugger but another
>starts on the line as if spawned from the loins of a deamon. The question
>is: How do I gain back control of the serial port?

This daemon is none other then init(8) ;-) You should edit /etc/ttys,
mark the entry for tty00 as 'off', and do a "kill -HUP 1" (all as root,
naturally). Then you can kill the getty process, and it won't come
back.

- Frank
-- 
                Frank van der Linden, vdlinden@fwi.uva.nl
Use NetBSD, it's free and works on: i386, Mac, Amiga, HP300, Sun3, Sun4c, PC532
                  Work in progress: DEC MIPS R2k/3k, VAX, Sun4m, Alpha
                     (And even more architectures to come)