Date: Thu, 24 Jan 2002 13:59:35 -0500 From: Sam Suh <sam@bigstudios.com> To: nirv one nine nine <nirv199@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: bash Message-ID: <3C505997.73441432@bigstudios.com> References: <20020124184854.95199.qmail@web14907.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C505997.73441432>