From owner-freebsd-questions Mon Aug 2 9:16:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ares.maths.adelaide.edu.au (Ares.maths.adelaide.edu.au [129.127.44.147]) by hub.freebsd.org (Postfix) with ESMTP id 78E5814FA1 for ; Mon, 2 Aug 1999 09:16:41 -0700 (PDT) (envelope-from glewis@ares.maths.adelaide.edu.au) Received: (from glewis@localhost) by ares.maths.adelaide.edu.au (8.9.3/8.9.3) id BAA49722; Tue, 3 Aug 1999 01:46:44 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <199908021616.BAA49722@ares.maths.adelaide.edu.au> Subject: Re: root has no access to csh but user does? In-Reply-To: <576A688A7DA7D011899B00805FEA1AFF7B90E7@sych02.isdip.upmc.edu> from "Person, Roderick" at "Aug 2, 1999 10:07:30 am" To: "Person, Roderick" Date: Tue, 3 Aug 1999 01:46:44 +0930 (CST) Cc: "'freebsd-questions@freebsd.org'" X-Mailer: ELM [version 2.4ME+ PL56 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I've been attempting to convert from Linux to FreeBSD for a few month now. > Just when I was completly ready to switch I hosed my sys. > > When I log in as root, It accepts the playword. gives me the login message > and informs me that I have mail and logout puting me back to the login > prompt. I was able to login as a normal user, but I never gave the user su > rights!! > > Is there a easy way to go about fixing this without doing a new install! Boot into single user mode and make sure that root has a valid shell, you might want to add a normal user to the wheel group while you're at it :). You can boot into single user mode by stopping the normal boot process when you're given the option and typing "boot -s" (FreeBSD 3.2) or by typing "-s" at the boot: prompt (prior to 3.2). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message