From owner-freebsd-security Tue Feb 26 13: 0: 5 2002 Delivered-To: freebsd-security@freebsd.org Received: from cpl-emea-mail1.cpl.novell.com (cpl-emea-mail1.cpl.novell.com [147.2.71.56]) by hub.freebsd.org (Postfix) with ESMTP id 6D02637B400 for ; Tue, 26 Feb 2002 12:59:55 -0800 (PST) Received: from EMEA-MTA by cpl-emea-mail1.cpl.novell.com with Novell_GroupWise; Tue, 26 Feb 2002 21:59:45 +0100 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.1 Date: Tue, 26 Feb 2002 21:59:37 +0100 From: "Guy Coste" To: , Subject: Re: login problem Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_89D4C351.89E8B5F5" Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_89D4C351.89E8B5F5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit you may use 'toor' the root bash user >>> "Ian Barnes" 22:06:27 26-Feb-02 >>> Hi, I ssh into my FreeBSD 4.5 box using ssh. I wanted to change my shell from bash to tcsh, so i ran vipw, edited the file from /usr/local/bin/bash to /bin/bash (not thinking straight). Saved it, and exited. Now i cant get back in, because there is no /bin/bash. Is there anyway i can get root on the box? Thanks Ian Barnes -------------------------------------------- BOFH - MOM'S Pharmacies Email: ian@cerebellum.za.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message --=_89D4C351.89E8B5F5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML you may use 'toor' the root bash user

>>> "Ian Barnes" <ian@cerebellum.za.net> 22:06:27 26-Feb-02 >>>
Hi,

I ssh into my FreeBSD 4.5 box using ssh. I wanted to change my shell from
bash to tcsh, so i ran vipw, edited the file from /usr/local/bin/bash to
/bin/bash (not thinking straight). Saved it, and exited. Now i cant get back
in, because there is no /bin/bash.

Is there anyway i can get root on the box?

Thanks

Ian Barnes
--------------------------------------------
BOFH - MOM'S Pharmacies
Email: ian@cerebellum.za.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
--=_89D4C351.89E8B5F5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message