Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 1999 09:48:01 -0400
From:      "C J Michaels" <cjm2@earthling.net>
To:        "Brett B. Lanham" <lanhabb@hera.wku.edu>
Cc:        "FreeBSD Questions" <freebsd-questions@FreeBSD.org>
Subject:   Re: root login
Message-ID:  <000e01bf1b01$ba458a20$0200000a@weeble.dyndns.org>
References:  <Pine.GSO.4.20.9910192358510.13177-100000@hera.wku.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <lanhabb@hera.wku.edu>
To: Christopher Michaels <ChrisMic@clientlogic.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01bf1b01$ba458a20$0200000a>