From owner-freebsd-questions Wed Oct 20 20:15:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from weeble.dyndns.org (ubppp233-50.dialin.buffalo.edu [128.205.233.50]) by hub.freebsd.org (Postfix) with ESMTP id DC35D14D21 for ; Wed, 20 Oct 1999 20:14:41 -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 XAA00729; Wed, 20 Oct 1999 23:14:22 -0400 (EDT) (envelope-from cjm2@earthling.net) From: "Christopher J. Michaels" To: "Brett B. Lanham" Cc: "FreeBSD Questions" Subject: RE: root login Date: Wed, 20 Oct 1999 23:14:20 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Check your /root/.cshrc, /root/.login and the like. -Chris -----Original Message----- From: Brett B. Lanham [mailto:lanhabb@hera.wku.edu] Sent: Wednesday, October 20, 1999 8:21 PM To: C J Michaels Cc: FreeBSD Questions Subject: Re: root login 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