From owner-freebsd-isp Mon Oct 25 17: 9: 5 1999 Delivered-To: freebsd-isp@freebsd.org Received: from sneakerz.org (sneakerz.org [208.176.135.226]) by hub.freebsd.org (Postfix) with SMTP id 1CEA814C01 for ; Mon, 25 Oct 1999 17:09:03 -0700 (PDT) (envelope-from dave@sneakerz.org) Received: (qmail 96769 invoked by uid 1004); 26 Oct 1999 00:07:30 -0000 Date: Mon, 25 Oct 1999 17:07:29 -0700 From: "Dr. Dave" To: jahanur Cc: freebsd-isp@freebsd.org Subject: Re: root access problem please help. Message-ID: <19991025170729.A96748@sneakerz.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from jahanur on Mon, Oct 25, 1999 at 06:51:52PM -0500 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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