From owner-freebsd-isp Mon Oct 25 17:26:38 1999 Delivered-To: freebsd-isp@freebsd.org Received: from ns2.jjsoft.com (fig2.figdav.com [208.152.114.19]) by hub.freebsd.org (Postfix) with ESMTP id 96A5414D9D for ; Mon, 25 Oct 1999 17:26:36 -0700 (PDT) (envelope-from jahanur@jjsoft.com) Received: from localhost (jahanur@localhost) by ns2.jjsoft.com (8.9.0/8.9.0) with SMTP id TAA01050; Mon, 25 Oct 1999 19:26:34 -0500 (CDT) Date: Mon, 25 Oct 1999 19:26:34 -0500 (CDT) From: jahanur To: "Dr. Dave" Cc: freebsd-isp@freebsd.org Subject: Re: root access problem please help. In-Reply-To: <19991025170729.A96748@sneakerz.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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