From owner-freebsd-questions Wed Oct 20 17:20:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hera.wku.edu (hera.wku.edu [161.6.18.5]) by hub.freebsd.org (Postfix) with ESMTP id 0B73F14DEC for ; Wed, 20 Oct 1999 17:20:42 -0700 (PDT) (envelope-from lanhabb@hera.wku.edu) Received: from localhost (lanhabb@localhost) by hera.wku.edu (8.9.3+Sun/8.9.1) with ESMTP id TAA29131; Wed, 20 Oct 1999 19:20:40 -0500 (CDT) Date: Wed, 20 Oct 1999 19:20:40 -0500 (CDT) From: "Brett B. Lanham" To: C J Michaels Cc: FreeBSD Questions Subject: Re: root login In-Reply-To: <000e01bf1b01$ba458a20$0200000a@weeble.dyndns.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am able to get csh as my normal user. I set the permissions on /bin/csh to 755. It kind of weird I thought. I may just try to change the shell of root. Brett On Wed, 20 Oct 1999, C J Michaels wrote: > 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