From owner-freebsd-questions Wed May 26 21:25:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pokey.local.net (arc9-113.arl.netwalk.net [216.69.202.113]) by hub.freebsd.org (Postfix) with ESMTP id B029314E17 for ; Wed, 26 May 1999 21:24:43 -0700 (PDT) (envelope-from jmutter@netwalk.com) Received: from insomnia.local.net (insomnia.local.net [192.168.2.3]) by pokey.local.net (8.9.2/8.9.2) with ESMTP id AAA73669; Thu, 27 May 1999 00:20:45 -0400 (EDT) (envelope-from jmutter@insomnia.local.net) Date: Thu, 27 May 1999 00:24:12 -0400 (EDT) From: "James A. Mutter" Reply-To: jmutter@netwalk.com To: =?iso-8859-1?Q?Alejandro_Ram=EDrez?= Cc: ". ." , freebsd-questions@FreeBSD.ORG Subject: RE: Need help with Root shell? In-Reply-To: <01ae01bea791$d973e420$f9a3f9cf@megared.net.mx> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG His problem isn't with the password, his problem is that "/bin/bash" doesn't exist on FreeBSD boxen. The only shells that live in /bin are csh and sh. Login is complainint that it can't find a valid shell. On Wed, 26 May 1999, Alejandro Ram=EDrez wrote: :Completing... : : Change root passwd and change anything in the /etc/passwd file, you ma= y :use vipw, or rebuild the paswd by hand : :Ales : :----- Original Message ----- :From: . . :To: :Sent: Wednesday, May 26, 1999 11:00 AM :Subject: Need help with Root shell? : : :> Please Help. :> I dont know what I did, my BSD box has not been rebooted in a while so i= t :> could have been anything in the past few weeks! The last thing I was doi= ng :> was adding users. But now I can not log in as root! I get an error :> "login: /bin/bash [-login]: no such file or directory :> :> I have no idea how that [-login] got in there but I suspect that has :> something to do with it. .I tried to remove it from /etc/passwd but :ofcourse :> I have to be SU to do that and I can not SU for the same reason I can no= t :> get root. :> :> Obviously I am fairly new at this... but any help would be appreciated! :> thanks in advance :> :> corinthian420@hotmail.com :> :> :> _______________________________________________________________ :> Get Free Email and Do More On The Web. Visit http://www.msn.com :> :> :> To Unsubscribe: send mail to majordomo@FreeBSD.org :> with "unsubscribe freebsd-questions" in the body of the message : : : :To Unsubscribe: send mail to majordomo@FreeBSD.org :with "unsubscribe freebsd-questions" in the body of the message : : To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message