Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 1999 19:26:34 -0500 (CDT)
From:      jahanur <jahanur@jjsoft.com>
To:        "Dr. Dave" <dave@sneakerz.org>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: root access problem please help.
Message-ID:  <Pine.BSF.3.96.991025192507.957D-100000@ns2.jjsoft.com>
In-Reply-To: <19991025170729.A96748@sneakerz.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Thank you very much for your help.
Isnt there any other way?
I realy dont want shut the system down.
THanks
Jahanur



On Mon, 25 Oct 1999, Dr. Dave wrote:

> 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?Pine.BSF.3.96.991025192507.957D-100000>