Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] sh shell woes



On Mon, Sep 16, 2002 at 10:23:53AM +0900, Tony Laszlo wrote:
> Thanks very much, Scott. 
> 
> On Sun, 15 Sep 2002, Scott Robbins wrote:
> 
> > There's a chsh command.  If bash is listed in /etc/shells you can change
> > your shell to use it.  In FreeBSD at least (you don't say which BSD
> > you're using) it's /usr/local/bin/bash.
> 
> Sounds like the ticket. 
> FreeBSD, it is. 
> and bash is listed in /etc/shells
> 
> will "chsh -s bash"  do it? 

Hrm, I'm in the middle of something in Linux with both of the boxes
running FreeBSD right now, so not sure.  You can just type
chsh---something comes up and you'll see that your shell is /usr/bin/sh.
Just edit that to read /usr/local/bin/bash, leave the rest of it alone,
do a :wq (it comes up as a file to be edited in vi) and you're done.
(Of course, you'll have to log out and log in again.)


Hrmm, this is interesting--I'm going to put this in for others who might
find it so.  As I said, I'm in Linux at the moment, so I went to
www.freebsd.org and went to the online man pages.  Did a search for chsh
and it turns out that it's a link to chpass.  According to the man page
chpass -s /usr/local/bin/bash should work. Give it a shot.  If it
doesn't, then go back to the earlier part of this email and just type it
in manually.  :)


HTH
-- 

Scott

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Attachment: pgp00126.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links