From owner-freebsd-questions Tue Aug 3 6:31:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from 1upmc-msx4.isdip.upmc.edu (1upmc-msx4.isdbu.upmc.edu [128.147.18.41]) by hub.freebsd.org (Postfix) with ESMTP id 8CAF41529C for ; Tue, 3 Aug 1999 06:31:21 -0700 (PDT) (envelope-from personrp@ccbh.com) Received: by 1upmc-msx4.isdbu.upmc.edu with Internet Mail Service (5.5.2448.0) id ; Tue, 3 Aug 1999 09:30:29 -0400 Message-ID: <576A688A7DA7D011899B00805FEA1AFF7B90F3@sych02.isdip.upmc.edu> From: "Person, Roderick" To: 'Greg Lewis' , "Person, Roderick" Cc: "'freebsd-questions@freebsd.org'" Subject: RE: root has no access to csh but user does? Date: Tue, 3 Aug 1999 09:30:22 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for the reply, tried it last night. I logged in but root has lost permission to the shell csh. I was attempting to switch to /usr/bin/bash but that partition is mount in single user. I also tried to use /bin/sh but it says it can't find it and there is and unexpected '}' which leaves me clueless. I think re-installing is going to be the simplest solution here. > -----Original Message----- > From: Greg Lewis [SMTP:glewis@ares.maths.adelaide.edu.au] > Sent: Monday, August 02, 1999 12:17 PM > To: Person, Roderick > Cc: 'freebsd-questions@freebsd.org' > Subject: Re: root has no access to csh but user does? > > > 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