From owner-freebsd-security Tue Feb 26 12:49:18 2002 Delivered-To: freebsd-security@freebsd.org Received: from cerebellum.za.net (cerebellum.za.net [196.34.172.103]) by hub.freebsd.org (Postfix) with ESMTP id DE33637B47E for ; Tue, 26 Feb 2002 12:48:25 -0800 (PST) Received: from nicki (rdg-dial-196-2-33-214.mweb.co.za [196.2.33.214]) by cerebellum.za.net (8.11.6/8.11.3) with SMTP id g1QKp3j50511 for ; Tue, 26 Feb 2002 22:51:06 +0200 (SAST) (envelope-from ian@cerebellum.za.net) From: "Ian Barnes" To: Subject: login problem Date: Tue, 26 Feb 2002 23:06:27 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 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