Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 1999 17:22:21 -0400
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        "'Brett B. Lanham'" <lanhabb@hera.wku.edu>
Cc:        "FreeBSD Questions (E-mail)" <questions@FreeBSD.org>
Subject:   RE: root login
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB4401105D0F@site2s1>

next in thread | raw e-mail | index | archive | help
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?6C37EE640B78D2118D2F00A0C90FCB4401105D0F>