From owner-freebsd-newbies Mon Jan 17 8: 9:42 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from curlew.cs.man.ac.uk (curlew.cs.man.ac.uk [130.88.13.7]) by hub.freebsd.org (Postfix) with ESMTP id CC28414DF6 for ; Mon, 17 Jan 2000 08:09:29 -0800 (PST) (envelope-from Networks.Manager@rncm.ac.uk) Received: from fs3.rncm.ac.uk ([193.63.96.102] helo=rncm.ac.uk) by curlew.cs.man.ac.uk with esmtp (Exim 1.92 #3) id 12AEiX-000PLe-00; Mon, 17 Jan 2000 16:09:21 +0000 Received: from RNCM-FS3/SpoolDir by rncm.ac.uk (Mercury 1.44); 17 Jan 00 16:09:39 GMT Received: from SpoolDir by RNCM-FS3 (Mercury 1.44); 17 Jan 00 16:09:32 GMT Received: from beowulf (193.63.96.96) by rncm.ac.uk (Mercury 1.44); 17 Jan 00 16:09:29 GMT From: "Peter McGarvey" To: "Mark Shirley" , Subject: RE: shell problem Date: Mon, 17 Jan 2000 16:09:27 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20000117104745.G394@cyberfrg.access.one.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > <> 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 Or you could just type chsh -s /usr/local/bin/bash {usename} TTFN, FNORD -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Peter McGarvey, Networks Manager | email: Networks.Manager@rncm.ac.uk Royal Northern College of Music | tel: +44 (0)161 907 5218 124 Oxford Road, Manchester, | fax: +44 (0)161 273 7611 England M13 9RD | mobile: +44 (0)7887 990564 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > <> 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 Or you could just type chsh -s /usr/local/bin/bash {usename} TTFN, FNORD -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Peter McGarvey, Networks Manager | email: Networks.Manager@rncm.ac.uk Royal Northern College of Music | tel: +44 (0)161 907 5218 124 Oxford Road, Manchester, | fax: +44 (0)161 273 7611 England M13 9RD | mobile: +44 (0)7887 990564 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message