From owner-freebsd-questions Mon Apr 13 06:50:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA25970 for freebsd-questions-outgoing; Mon, 13 Apr 1998 06:50:50 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from indigo.ie (nsmart@ts01-28.waterford.indigo.ie [194.125.139.91]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA25954 for ; Mon, 13 Apr 1998 13:50:44 GMT (envelope-from rotel@indigo.ie) Received: (from nsmart@localhost) by indigo.ie (8.8.8/8.8.7) id OAA01889 for freebsd-questions@freebsd.org; Mon, 13 Apr 1998 14:51:15 +0100 (IST) (envelope-from rotel@indigo.ie) From: Niall Smart Message-Id: <199804131351.OAA01889@indigo.ie> Date: Mon, 13 Apr 1998 14:51:15 +0000 Reply-To: rotel@indigo.ie X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: freebsd-questions@FreeBSD.ORG Subject: RE: Lost root shell Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Apr 13, 9:40am, "Vladislav S. Davidzon" wrote: } Subject: RE: Lost root shell > I have a problem... > > I know that many of the readers on the list will laugh, but I changed the > root shell to a non-existing binary by mistake and... logged out. Is > there any way to get root back? Obviously I have physical access to > machine, as well as to a wheel-group user. boot -s and when it asks you which shell to use, use /bin/csh > Please reply directly to me. I hate that kind of sh**. Niall -- Niall Smart. Microsoft Suck. See www.freebsd.org for details. echo "#define if(x) if(!(x))" >> /usr/include/stdio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message