Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 1999 17:07:29 -0700
From:      "Dr. Dave" <dave@sneakerz.org>
To:        jahanur <jahanur@jjsoft.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: root access problem please help.
Message-ID:  <19991025170729.A96748@sneakerz.org>
In-Reply-To: <Pine.BSF.3.96.991025183709.957B-100000@ns2.jjsoft.com>; from jahanur on Mon, Oct 25, 1999 at 06:51:52PM -0500
References:  <Pine.BSF.3.96.991025183709.957B-100000@ns2.jjsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 25, 1999 at 06:51:52PM -0500, jahanur wrote:
> HI, everybody,
> I have got a major problem. 
> Whenever I try to login as root it says "su: /bin/bash: No such file or
> directory".

bash is not a great shell to use for root unless it is staticly linked.

> I have tried copying the "bash" in /bin directory by using "su root -c "cp
> bash /bin" from /usr/local/bin/ directory.
> I dont know what else I could do.
> Please help.

You can boot into single user mode, use /bin/sh for the shell.  Then mount all of your file systems, and do the copy from there.  

-- 
--------------------------------------------------------------------------
Dave McKay                                      dave@sneakerz.org              
MSN Hotmail                                     http://www.hotmail.com
--------------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991025170729.A96748>