From owner-freebsd-questions@FreeBSD.ORG Thu Jan 1 21:33:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34D3C16A4CE for ; Thu, 1 Jan 2004 21:33:40 -0800 (PST) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id C170343D1F for ; Thu, 1 Jan 2004 21:33:38 -0800 (PST) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp109-47.lns1.adl1.internode.on.net [150.101.109.47])i025XTp5017259; Fri, 2 Jan 2004 16:03:29 +1030 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Trey Sizemore , FreeBSD Questions Date: Fri, 2 Jan 2004 16:03:28 +1030 User-Agent: KMail/1.4.3 References: <3FF4DE97.4040900@fastmail.fm> In-Reply-To: <3FF4DE97.4040900@fastmail.fm> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200401021603.28788.malcolm.kay@internode.on.net> Subject: Re: My /etc/ttys file has been overwritten X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2004 05:33:40 -0000 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 d= o > 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