Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 2004 10:51:45 -0600
From:      Cody Rioux <gr4y.fox@gmail.com>
To:        Olivier Gautherot <ogautherot@freesurf.fr>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: changing the shell and editor
Message-ID:  <c52d1f8204082609511de8a5b9@mail.gmail.com>
In-Reply-To: <412D9FB1.5010603@freesurf.fr>
References:  <801213900.20040825215844@xtsy.de> <412D9FB1.5010603@freesurf.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
An alternative to logging out and back in is having root run the
command "rehash".

On Thu, 26 Aug 2004 10:30:41 +0200, Olivier Gautherot
<ogautherot@freesurf.fr> wrote:
> Hi Marcel!
> 
> 
> >hi again,
> >
> >well, i've tried a bit playin with the /etc/master.passwd, adduser,
> >vipw an so on.
> >
> >now i use the bash shell. but, i am not able to change my enviroment
> >variables anymore. trying "set EDITOR emacs" did not work. when ich
> >echo my editor variable, it is empty. though i have changed my shell
> >back to csh in the /etc/master.password file, when i log on i still
> >use the bash.
> >
> >rebooting the system or kill -1 1 didn't do any good. i am getting
> >confused now a bit. acually changes in the master.passwd file should
> >take effect in any case, shouldn't they?
> >
> >pleas help.
> >
> >
> 
> Just a dumb question: did you try logging out and back in?
> You need to do that to refresh for sure your environment
> (reboot not necessary: it's not Windows :-) ).
> 
> Also, if you use the bash/csh command "set", it will affect only
> the current shell. Nested invocations won't be affected.
> Try "setenv" in csh or "export" in bash.
> 
> Hope it helps
>     Olivier
> 
> 
> _______________________________________________
> freebsd-newbies@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c52d1f8204082609511de8a5b9>