Date: Tue, 26 Feb 2002 21:59:37 +0100 From: "Guy Coste" <gcoste@novell.com> To: <ian@cerebellum.za.net>, <security@freebsd.org> Subject: Re: login problem Message-ID: <sc7c0551.022@cpl-emea-mail1.cpl.novell.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] 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 [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 5.50.4913.1100" name=GENERATOR></HEAD> <BODY style="MARGIN-TOP: 2px; FONT: 10pt Tahoma; MARGIN-LEFT: 2px">you may use 'toor' the root bash user<BR><BR>>>> "Ian Barnes" <ian@cerebellum.za.net> 22:06:27 26-Feb-02 >>> <BR>Hi, <BR><BR>I ssh into my FreeBSD 4.5 box using ssh. I wanted to change my shell from <BR>bash to tcsh, so i ran vipw, edited the file from /usr/local/bin/bash to <BR>/bin/bash (not thinking straight). Saved it, and exited. Now i cant get back <BR>in, because there is no /bin/bash. <BR><BR>Is there anyway i can get root on the box? <BR><BR>Thanks <BR><BR>Ian Barnes <BR>-------------------------------------------- <BR>BOFH - MOM'S Pharmacies <BR>Email: <U><A href="mailto:ian@cerebellum.za.net">ian@cerebellum.za.net</A></U> <BR><BR><BR>To Unsubscribe: send mail to <U><A href="mailto:majordomo@FreeBSD.org">majordomo@FreeBSD.org</A></U> <BR>with "unsubscribe freebsd-security" in the body of the message <BR></BODY></HTML>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?sc7c0551.022>
