changing the shell and editor
Cody Rioux
gr4y.fox at gmail.com
Thu Aug 26 09:51:52 PDT 2004
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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe at freebsd.org"
>
More information about the freebsd-newbies
mailing list