From owner-freebsd-questions Wed Mar 18 16:00:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA28335 for freebsd-questions-outgoing; Wed, 18 Mar 1998 16:00:00 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA28318 for ; Wed, 18 Mar 1998 15:59:49 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id KAA11416; Thu, 19 Mar 1998 10:29:42 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id KAA23297; Thu, 19 Mar 1998 10:29:42 +1030 (CST) (envelope-from grog) Message-ID: <19980319102941.25580@freebie.lemis.com> Date: Thu, 19 Mar 1998 10:29:41 +1030 From: Greg Lehey To: Ibrahim Korpeoglu Cc: FreeBSD Questions Subject: Re: single user mode References: <19980319102214.02651@freebie.lemis.com> <199803182355.PAA10184@hill.ucr.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <199803182355.PAA10184@hill.ucr.edu>; from Ibrahim Korpeoglu on Wed, Mar 18, 1998 at 03:55:08PM -0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 18 March 1998 at 15:55:08 -0800, Ibrahim Korpeoglu wrote: >> On Wed, 18 March 1998 at 15:28:49 -0800, Ibrahim Korpeoglu wrote: >>> >>> Hi, >>> >>> How can I boot freebsd in single user mode? >> >> Specify the -s flag to the Boot: prompt. >> >>> is there a way to login with a different shell at the login prompt? >> >> Not directly. Do you want to use different shells at different times? >> There's nothing to stop you from starting one shell from another, for >> example: >> >> $ csh >>> bash >> bash$ sh >> $ >> >> If you want to permanently change your shell, use chsh. There's a >> section about this in the most recent addenda to "The Complete >> FreeBSD", second edition >> (http://www.cdrom.com/titles/os/bsdbook2.htm)-- see >> http://www.lemis.com/errata-2.html. > > Thanks for your mail. > > I actually did a stupid mistake. > I changed the root shell to tcsh without making > tcsh executable. So I can not login as a root. > I just have an account which can not su root. > So I dont know what I can do. Is there a way > without reinstalling everything? Hmmm. Why can't you just boot single user and make tcsh executable? When you boot single user, it prompts you for the name of the shell. Take the default (sh). Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message