From owner-freebsd-questions Thu Jan 24 10:54:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.bigstudios.com (H185.C214.tor.velocet.net [216.138.214.185]) by hub.freebsd.org (Postfix) with ESMTP id 3C93837B416 for ; Thu, 24 Jan 2002 10:54:08 -0800 (PST) Received: from bigstudios.com([192.168.75.105]) (1379 bytes) by mail.bigstudios.com via sendmail with P:esmtp/R:bind_hosts/T:smtp (sender: ) id for ; Thu, 24 Jan 2002 13:54:07 -0500 (EST) (Smail-3.2.0.111 2000-Feb-17 #1 built 2000-Jul-5) Message-ID: <3C505997.73441432@bigstudios.com> Date: Thu, 24 Jan 2002 13:59:35 -0500 From: Sam Suh X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: nirv one nine nine Cc: freebsd-questions@freebsd.org Subject: Re: bash References: <20020124184854.95199.qmail@web14907.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii 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 nirv one nine nine wrote: > > Hello, > > I installed the bash package, and edited /etc/passwd to use > /usr/local/bin/bash as the shell for some users, but it did not work. > Is there anything else I need to do in order to run bash as my default > shell? > > TIA > > nirv You never, ever edit /etc/passwd directly. Instead, login as target user and issue chsh command to change shell to bash. If not, use vipw as root and change default shell for target user. The real password file is not /etc/passwd, it is something else. /etc/master.passwd is the one. In fact, you never edit it with vi or something else either. Because, unless you use chsh or vipw, anything you do on master.passwd is not going to be reflected. Please read man page for chsh and vipw. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message