From owner-freebsd-questions Wed Oct 20 6:48: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from weeble.dyndns.org (ubppp233-199.dialin.buffalo.edu [128.205.233.199]) by hub.freebsd.org (Postfix) with ESMTP id 8E6251B8A3 for ; Wed, 20 Oct 1999 06:47:58 -0700 (PDT) (envelope-from cjm2@earthling.net) Received: from shithead (shithead.weeble.dyndns.org [10.0.0.2]) by weeble.dyndns.org (8.9.3/8.9.3) with SMTP id JAA04018; Wed, 20 Oct 1999 09:47:56 -0400 (EDT) (envelope-from cjm2@earthling.net) Message-ID: <000e01bf1b01$ba458a20$0200000a@weeble.dyndns.org> From: "C J Michaels" To: "Brett B. Lanham" Cc: "FreeBSD Questions" References: Subject: Re: root login Date: Wed, 20 Oct 1999 09:48:01 -0400 Organization: WCC MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 1st of all, make sure that /bin/csh is there and is executable. It aparently is since you're not getting errors. What happens if you just manually type /bin/csh (from logging in single user). You could use "chsh" to change your shell to something that definitely works, such as "/bin/sh" -Chris P.S. Please CC: the list when replying. ----- Original Message ----- From: Brett B. Lanham To: Christopher Michaels Sent: Wednesday, October 20, 1999 1:02 AM Subject: RE: root login > Thanks for the help. I did what you told me too and in the end all that > changed was that I didn't get the Permission denied error. It just didn't > login. The motd rolled by and then I got a login prompt again. Do you > have any more ideas? I am running FreeBSD 3.2-RELEASE in a virtual > machine. I forgot about the virtual machine because it is so real. I > wasn't thinking, but I don't think that would have any bering. > > Brett > > On Tue, 19 Oct 1999, Christopher Michaels wrote: > > > You neglected to mention what version you are running. Your root password > > is valid, it's complaining that you don't have permission to execute > > /bin/csh (which is the default shell). > > > > You can boot single user to rectify this. > > > > To boot into single-user mode: > > > > 3.1-RELEASE and earlier: > > At the boot prompt, type ``-s'' and press enter. > > > > 3.2-RELEASE or later: > > At the boot prompt, type ``boot -s'' and press enter. > > > > (quoted from Sheldon) > > > > I would then suggest mounting your file systems. (mount -a) > > > > Once you've done this all you should have to do is type "chmod 755 /bin/csh" > > to rectify the problem. > > > > Hope this helps, > > -Chris > > > > > -----Original Message----- > > > From: Brett B. Lanham [SMTP:lanhabb@hera.wku.edu] > > > Sent: Tuesday, October 19, 1999 5:15 PM > > > To: freebsd-questions@freebsd.org > > > Subject: root login > > > > > > Evidently I messed something up on install because I am now unable to > > > login as root. I get : > > > > > > login: /bin/csh: Permission denied > > > > > > I am certain I am typing the password correct and I am wondering why the > > > system is trying to throw me into csh. Wouldn't it just give me login > > > incorrect if my password were bad. anyway since I can't login as root I > > > can't do a whole lot to correct this. If there is no easy way to correct > > > this the nI can just reinstall but I would like to be able to fix it w/o > > > the reinstall. I am still able to login as the userr that I set up during > > > the install. I glad at least I did that. > > > > > > Brett > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message