Date: Wed, 27 Oct 1999 17:08:07 -0400 From: "Eric W. Bates" <ericx@vineyard.net> To: jahanur <jahanur@jjsoft.com> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: root access problem please help. Message-ID: <199910272108.RAA05121@apache.vineyard.net> In-Reply-To: <Pine.BSF.3.96.991025192507.957D-100000@ns2.jjsoft.com> References: <19991025170729.A96748@sneakerz.org> <Pine.BSF.3.96.991025192507.957D-100000@ns2.jjsoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
use su -m to maintain the same login environment you are using for your own shell. It will ignore the information listed for root in the passwd file. > From: jahanur <jahanur@jjsoft.com> > Date: Mon, 25 Oct 1999 19:26:34 -0500 (CDT) > > > 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 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?199910272108.RAA05121>