From owner-freebsd-newbies Mon Jan 17 7:39:32 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from cyberfrg.access.one.net (cyberfrg.access.one.net [216.23.8.7]) by hub.freebsd.org (Postfix) with SMTP id 1D1DE14E0E for ; Mon, 17 Jan 2000 07:39:19 -0800 (PST) (envelope-from x11@cyberfrg.access.one.net) Received: by cyberfrg.access.one.net via sendmail with stdio id for freebsd-newbies@freebsd.org; Mon, 17 Jan 2000 10:47:45 -0500 (EST) (Smail-3.2 1996-Jul-4 #3 built 2000-Jan-2) Date: Mon, 17 Jan 2000 10:47:45 -0500 From: Mark Shirley To: freebsd-newbies@freebsd.org Subject: Re: shell problem Message-ID: <20000117104745.G394@cyberfrg.access.one.net> References: <38831C5E.1C2A3845@globalctg.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38831C5E.1C2A3845@globalctg.net>; from nestar@globalctg.net on Mon, Jan 17, 2000 at 01:42:54PM +0000 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org the first thing you need to do is install bash. this can be done by making the port of it. /usr/ports/shells/bash2 or bash1 do a make all install clean and you will have bash installed. after this is done i suggest using the vipw command. this command will allow you to edit the /etc/master.passwd and will make sure the syntax for the file is correct (this avoids nasty situations with passwd file) . find the user you want to use bash with and change their shellt . here is an example (this user has the normal sh ) cyberfrg:encrypted password removed:1000:0:wheel:0:0:cyberfrg:/home/cyberfrg:/bin/sh you would change "/bin/sh" to "/usr/local/bin/bash" like this cyberfrg:encrypted password removed:1000:0:wheel:0:0:cyberfrg:/home/cyberfrg:/usr/local/bin/bash now for this to take effect you need to rebuild the database but vipw does it for you automatically when you exit. so now just hit escape then type :wq you should get this output vipw: rebuilding the database... vipw: done and your done simple huh? just do that with all the users that you want to use bash. *note* bash might be installed in a different place, if this is true just type 'whereis bash' and it should tell you where its located On Mon, Jan 17, 2000 at 01:42:54PM +0000, New Star Service Co. wrote: > I like to use BASH shell in my user account. > how can i do this ? > > I make a mistake in insallation period ,here FreeBSD offer SH shell and > I wrote /bin/bash there but > when i going to log my user account it's says : /bin/bash : no such > file or directoriy > > please advise how can i use bash shell ? > > waiting prompt reply. > > satyajit > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message