My /etc/ttys file has been overwritten
Malcolm Kay
malcolm.kay at internode.on.net
Thu Jan 1 21:33:40 PST 2004
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
More information about the freebsd-questions
mailing list