Skip site navigation (1)Skip section navigation (2)
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>

next in thread | raw e-mail | index | archive | help
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" <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
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Description: HTML

<!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&nbsp;may 
use 'toor' the root bash user<BR><BR>&gt;&gt;&gt; "Ian Barnes" 
&lt;ian@cerebellum.za.net&gt; 22:06:27 26-Feb-02 &gt;&gt;&gt; <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>

--=_89D4C351.89E8B5F5--

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?sc7c0551.022>