Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jan 2004 09:11:12 -0500
From:      Trey Sizemore <trey@fastmail.fm>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: My /etc/ttys file has been overwritten
Message-ID:  <3FF57C00.1020002@fastmail.fm>
In-Reply-To: <200401021603.28788.malcolm.kay@internode.on.net>
References:  <3FF4DE97.4040900@fastmail.fm> <200401021603.28788.malcolm.kay@internode.on.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Malcolm Kay wrote:

>On Fri, 2 Jan 2004 13:29, Trey Sizemore wrote:
>  
>
>>I edited my /etc/ttys file in Easy Editor and then saved and exited (or
>>so I thought) to enable kdm.  When I rebooted, my machine would hang.  I
>>went back into /etc/ttys and noticed that the file is now empty!!
>>
>>What is the best way to replace the file.  I'm not aware of a default
>>file anywhere.  Will I have to manually recreate it, and if so, where do
>>I get the data?
>>
>>    
>>
>
># find /usr/src -name ttys
>yields:
>   /usr/src/etc/etc.alpha/ttys
>and
>   /usr/src/etc/etc.i386/ttys
>
>I imagine the latter is what you want ;-)
>
>Malcolm Kay
>  
>
Thanks, Malcolm.



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