From owner-freebsd-questions Sun Apr 28 13:25:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 5A8C237B400 for ; Sun, 28 Apr 2002 13:25:16 -0700 (PDT) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id NAA03202; Sun, 28 Apr 2002 13:25:13 -0700 Message-ID: <3CCC5AA8.4040907@owt.com> Date: Sun, 28 Apr 2002 13:25:12 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Todd M Kokoszka Cc: freebsd-questions@FreeBSD.ORG Subject: Re: locked out of machine References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Todd M Kokoszka wrote: > Hello, > > In a previous post I menteiond that the pkg tools deleted my bash shell. I > don't have a boot disk and can't log onto my machine because my accounts > are configured to use bash as their shell and the system can't find it. Is > there any way I can get a boot disk remotely or get into my machine? Well, you should be able to log into root and change them to a valid shell. You may only have to edit /etc/shells. If you have changed root to bash, you have reached a point of understanding why you don't fiddle with roots shell. In that case, you will probably have to boot to single user mode and make the changes there. The boot process asks what shell to use and sh should still be a valid shell. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message