My /etc/ttys file has been overwritten
Trey Sizemore
trey at fastmail.fm
Fri Jan 2 06:05:40 PST 2004
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.
More information about the freebsd-questions
mailing list