From owner-freebsd-questions Sat Mar 23 2:54:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by hub.freebsd.org (Postfix) with ESMTP id D57A337B41A for ; Sat, 23 Mar 2002 02:54:20 -0800 (PST) Received: from lungfish.ntlworld.com ([80.4.0.215]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020323105419.MYUZ22101.mta07-svc.ntlworld.com@lungfish.ntlworld.com>; Sat, 23 Mar 2002 10:54:19 +0000 Received: from tuatara.goatsucker.org (tuatara.goatsucker.org [192.168.1.6]) by lungfish.ntlworld.com (8.11.6/8.11.3) with ESMTP id g2NAsIj03685; Sat, 23 Mar 2002 10:54:19 GMT (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.11.6/8.11.6) id g2NAsIP11077; Sat, 23 Mar 2002 10:54:18 GMT (envelope-from scott) Date: Sat, 23 Mar 2002 10:54:18 +0000 From: Scott Mitchell To: zhangweiwu@private.21cn.com Cc: questions@FreeBSD.ORG Subject: Re: cannot login - a mistake in gdm Message-ID: <20020323105418.A278@fishballoon.dyndns.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from weiwuzhang@hotmail.com on Sat, Mar 23, 2002 at 11:12:03AM +0800 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Mar 23, 2002 at 11:12:03AM +0800, Zhang Weiwu wrote: > I'm running FreeBSD-4.4 Stable with GNOME and enlightment. I pkg_added gdm, > and i did following stupid things: > > 1. I edit /etc/ttys and chenged the 0st login from getty to > "/usr/X11R6/bin/gdm -nodeamon xterm ..." and > 2. I commented out other virtual consoles. > > I checked handbook and found it's wrong (i should use gdm on a virtual > console and keep other gettys there unchanged). But it's too late now. Now > the computer boots and tells me "gnm group cannot fond, using nobody" etc. > What's worse, since i commented out all other gettys i cannot login and > change /etc/ttys back. What should i do now? Boot into single-user mode (hit a key to stop the autoboot countdown, then 'boot -s') or boot from a rescue floppy/CD. Either way should get you to a command line where you can restore sanity to your ttys file. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message