Re: Changing shells


Subject: Re: Changing shells
From: Jacob Gemmell (evilbob@SDF.LONESTAR.ORG)
Date: Thu Jul 11 2002 - 15:11:03 AKDT


My bad I really wasn't paying attention. But if you know what user teh
process is running as, you can change the /etc/passwd file manually.

On Thu, 11 Jul 2002, Jacob Gemmell wrote:

> Put the entire path to the bash binary in /etc/shells and then run the
> chsh command to switch the default shell for that user. For the default
> shell for new users, where to change that. I suppose you could go into
> your /etc/passwd file as root and manually change it there.
>
>
> On Thu, 11 Jul 2002, 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
> >

-- 
evilbob@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Remember, if you build a man a fire, he'll be warm for a day; but if you set a man on fire, he'll be warm for the rest of his life.

--------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Thu Jul 11 2002 - 15:11:14 AKDT