Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2002 09:58:41 -0600
From:      "Andrei Cojocaru" <spinlock_lists@empirequest.com>
To:        "Ryan Thompson" <ryan@sasknow.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How do I get /bin/sh back?
Message-ID:  <000a01c21f85$d71c4220$0200a8c0@twothousand>
References:  <20020628211716.J68180-100000@ren.sasknow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, it worked.
----
Andrei Cojocaru
spinlock_lists@empirequest.com
----- Original Message ----- 
From: "Ryan Thompson" <ryan@sasknow.com>
To: "Andrei Cojocaru" <spinlock_lists@empirequest.com>
Cc: <freebsd-questions@FreeBSD.ORG>
Sent: Friday, June 28, 2002 21:20
Subject: Re: How do I get /bin/sh back?


> Andrei Cojocaru wrote to freebsd-questions@FreeBSD.ORG:
> 
> > I replaced /bin/sh with bash and made /bin/sh a symbolic link to
> > bash. I want to know how to get it back (original /bin/sh that is),
> > since the make buildworld won't work without it (That is what port
> > do I install?).
> 
> Oops! :-) You should never replace /bin/sh. As you have found out,
> doing so breaks some scripts. :-) There are plenty of other better
> supported ways to make bash the default multiuser shell on your
> system.
> 
> Now, to fix your current problem, you can rebuild /bin/sh from
> sources. (I assume you have the userland sources, as you were trying
> to do a buildworld).
> 
> # cd /usr/src/bin/sh && make all install
> 
> ...should do the trick.
> 
> Hope this helps,
> - Ryan
> 
> -- 
>   Ryan Thompson <ryan@sasknow.com>
> 
>   SaskNow Technologies - http://www.sasknow.com
>   901 1st Avenue North - Saskatoon, SK - S7K 1Y4
> 
>         Tel: 306-664-3600   Fax: 306-664-3630   Saskatoon
>   Toll-Free: 877-727-5669     (877-SASKNOW)     North America
> 
> 


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?000a01c21f85$d71c4220$0200a8c0>