From owner-freebsd-questions Tue Aug 15 06:11:38 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id GAA21078 for questions-outgoing; Tue, 15 Aug 1995 06:11:38 -0700 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id GAA21071 for ; Tue, 15 Aug 1995 06:11:36 -0700 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.9/8.6.9) id XAA25969; Tue, 15 Aug 1995 23:13:28 +0930 From: Michael Smith Message-Id: <199508151343.XAA25969@genesis.atrad.adelaide.edu.au> Subject: Re: root shell problem To: freyes@i-2000.com Date: Tue, 15 Aug 1995 23:13:28 +0930 (CST) Cc: questions@FreeBSD.ORG In-Reply-To: <9508151241.AA20407@i-2000.com> from "Francisco Reyes" at Aug 15, 95 08:39:16 am Content-Type: text Content-Length: 985 Sender: questions-owner@FreeBSD.ORG Precedence: bulk Francisco Reyes stands accused of saying: > > I was attempting to change my shell for the roo to bash. I left > out the initial '/' so I wrote usr/.... instead of /usr.... > > How can I fix this? I can not log in as root. Is there a way to log > in an indicate a shell at the same time? No, that would be a lethal security hole. If you managed to change the shell to something that wasn't listed in /etc/shells you must have been editing /etc/passwd - don't do that! Use 'vipw' to edit the password database. /etc/passwd is only there for compatability - FreeBSD uses a shasow password scheme. -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" - Terry Lambert [[