help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing user login shell to new bash release


From: Alex fxmbsw7 Ratchev
Subject: Re: Changing user login shell to new bash release
Date: Wed, 13 Oct 2021 03:54:43 +0200

look in /etc/passwd if the new path really gets used
or anyway on #! scripts u may only want /bin/bash

so

mv /bin/bash{,.bak1} ; cp /usr/local/bin/bash /bin

On Wed, Oct 13, 2021, 02:06 Khan Smith <khansmith@mail.com> wrote:

>
>    I have system (Trisquel 9.0) with Bash Version 4.4.20.  Have installed
>    Bash 5.1.8 using
>
>    cd build
>    ../../../src/bash/bash-5.1.8/configure
>    make
>    sudo make install
>
>    "which bash" is giving "/usr/local/bin/bash" and doing
>
>    "/usr/local/bin/bash --version"
>
>    gives
>
>    GNU bash, version 5.1.8(1)-release (x86_64-pc-linux-gnu)
>
>    To change my login I will be doing
>
>    1.  Add /usr/local/bin/bash to the file /etc/shells"
>    2.  Execute as myself the command "chsh -s /usr/local/bin/bash"
>
>    Would the procedure be correct to do?
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]