From owner-freebsd-questions Fri Jun 1 8: 0:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from exchange.twowaytv.co.uk (exchange.twowaytv.co.uk [194.6.2.173]) by hub.freebsd.org (Postfix) with ESMTP id CD71C37B423 for ; Fri, 1 Jun 2001 08:00:42 -0700 (PDT) (envelope-from ADyas@twowaytv.com) Received: by EXCHANGE with Internet Mail Service (5.5.2653.19) id ; Fri, 1 Jun 2001 15:57:29 +0100 Message-ID: <911D8F660DF6D411B61F00500462BA018B3A39@EXCHANGE> From: Alex Dyas To: freebsd-questions@freebsd.org Subject: RE: root shell Date: Fri, 1 Jun 2001 15:57:28 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 > how do I get the root account use other shell than csh? > I have changed the root's shell entry in /etc/passwd to > /bin/bash, but still get csh upon logging in. Use vipw to make manual changes to the /etc/passwd file. See man page for reasons why you can't just edit the file and expect the changes to come into effect. As a side note, it is unadvisable to change root's default shell for a number of reasons. There is a high probability that the shell you've used instead (eg bash) resides on a partition other than the root partition (/usr). In an emergency situation where you only have the root partition mounted you won't have a shell to log in with. If you absolutely have to use a shell other than the default your best bet is just to put up with running it after you log in. alex.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message