From owner-freebsd-questions Tue Aug 12 14:00:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA19635 for questions-outgoing; Tue, 12 Aug 1997 14:00:09 -0700 (PDT) Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id NAA19540 for ; Tue, 12 Aug 1997 13:59:40 -0700 (PDT) Received: from mail.cs.virginia.edu by mail.virginia.edu id ab00727; 12 Aug 97 16:59 EDT Received: from archive.cs.Virginia.EDU (root@archive.cs.Virginia.EDU [128.143.136.9]) by ares.cs.Virginia.EDU (8.8.5/8.8.5) with ESMTP id QAA00736; Tue, 12 Aug 1997 16:59:29 -0400 (EDT) Received: from stretch.cs.Virginia.edu (atf3r@stretch-fo.cs.Virginia.EDU [128.143.136.14]) by archive.cs.Virginia.EDU (8.7.5/8.7.3) with SMTP id QAA05909; Tue, 12 Aug 1997 16:59:28 -0400 (EDT) Received: by stretch.cs.Virginia.edu (4.1/SMI-2.0) id AA11290; Tue, 12 Aug 97 16:59:26 EDT Date: Tue, 12 Aug 1997 16:59:24 -0400 (EDT) From: "Adrian T. Filipi-Martin" Reply-To: adrian@virginia.edu To: shaun Cc: freebsd-questions@freebsd.org Subject: Re: ROOT SHELL In-Reply-To: <33F0A764.9CE@trifecta.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 12 Aug 1997, shaun wrote: > HI I seem to have changed root shell to ftpshell so now I cant logon as > root! Do you know how to change it back? > > Please help me! > Thank you. > Shaun > shaun@trifecta.com Reboot your machine and bring it up in single user mode. You can do this from the console, by pressing control-alt-delete. Wait for the OS to shutdown, then as it's rebooting enter "-s" as an argument at the boot prompt. Once it boots, your root filesystem will be mounted read-only, so you will need to remount it to make it writeable. mount -a should be sufficient. From there, you can fix your root account shell. Adrian -- adrian@virginia.edu ---->>>>| If I were stranded on a desert island, and System Administrator --->>>| I could only have one OS for my computer, Neurosurgical Visualzation Lab -->>| it would be FreeBSD. Think about it..... http://www.nvl.virginia.edu/ ->| http://www.freebsd.org/