Re: changing the shell and editor

From: Cody Rioux (gr4y.fox_at_gmail.com)
Date: 08/26/04

  • Next message: Kevin Reiter: "Re: changing the shell and editor"
    Date: Thu, 26 Aug 2004 10:51:45 -0600
    To: Olivier Gautherot <ogautherot@freesurf.fr>
    
    

    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"
    >
    _______________________________________________
    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"


  • Next message: Kevin Reiter: "Re: changing the shell and editor"

    Relevant Pages

    • Re: Login Shell/Profile: Stop the Madness
      ... >>It would be sensible if logging in via a display manager included ... user names for console login vs. display-manager login.) ... setting environment variables to login-time defaults. ... shell is started. ...
      (Debian-User)
    • Re: [opensuse] mp3info help
      ... Yes, Linux access controls are up to this, probably without even using ... The first amounts to logging. ... If this is being done with a shell, then there will be a shell history. ... If you re-implemented it s a database then the set of commands, ...
      (SuSE)
    • Re: Re (2): ~/.profile
      ... Because .profile is the "generic" shell side of things it is better to ... than to use the more compact but newer combined form. ... that Debian's default file uses bash syntax ... It is a long story but normally when logging in through a graphical ...
      (Debian-User)
    • Delay in logging in
      ... Logging in is very slow. ... Running 'su' from a shell gives the same delay as ... then about ten screens of output dumped to the screen. ...
      (alt.os.linux.suse)