[luau] Changing shells
MonMotha
monmotha at indy.rr.com
Thu Jul 11 12:55:01 PDT 2002
Changing the default shell on unix (linux, bsd, commercial unixes, etc)
generally means changing the link /bin/sh to whatever you want. In this
case, /bin/sh is probably a symlink to /bin/csh. To change to bash,
link it to /bin/bash. Be aware that bash1 is old and may not run newer
scripts. Also, changing that link will break any scripts on your system
that assume #!/bin/sh will have it parsed by csh (so check your init
scripts).
--MonMotha
Jon Reynolds wrote:
> I have a freebsd4.6 box and when it boots it automagically goes into the csh
> shell. I installed bash1 and want it to be the default systemwide shell.
> Where would I make the change for this? I have been looking around and found
> how to do it for users but not systemwide. I have a command in my
> /etc/rc.local that won't start using the csh shell I get an 'ambiguous
> output redirect' message. When I switch over to sh and run the same command
> it works just fine. But I need this command to start at system bootup time.
> Any ideas?
>
> Jon
More information about the LUAU
mailing list