Subject: Re: can't exec getty 'none' for port /dev/ttyp0
To: Philip Christian <philipchristian2003@yahoo.co.uk>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 02/11/2003 22:09:13
On Tue, Feb 11, 2003 at 01:30:01PM +0000, Philip Christian wrote:
>
> I added "on secure" to ttyp0 in /etc/ttys and enabled telnet in /etc/inetd.conf
>
> this is so that I can telnet in as root to mess with the box
>
> I know that this is considered bad practice but it is a private network in a lab (the spare bedroom :-) ) and I know the risks etc
>
> problem now is that I am getting "init: can't get exec getty 'none' for port /dev/ttyp0: No such file or directory" messages all the time
>
> how do I get rid of the annoying messages ?
Just change on to off in /etc/ttys for ttyp0. It won't prevent telnet from
working, getty is only for physical devices (serial port, keyboard/sceen,
etc).
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 24 ans d'experience feront toujours la difference
--