Ignore:
Timestamp:
Feb 19, 2016, 8:38:23 PM (8 years ago)
Author:
Chris Staub <chris@…>
Branches:
master, systemd
Children:
e3e2a37
Parents:
57fc8e7
Message:

Prevent bashbug from being installed to /bin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/bash.xml

    r57fc8e7 r8d55018  
    3434<screen os="b"><userinput>./configure \
    3535    --prefix=/usr \
    36     --bindir=/bin \
    3736    --without-bash-malloc \
    3837    --with-installed-readline \
     
    6564<screen os="h"><userinput>make install</userinput></screen>
    6665
    67     <para os="i">Run the newly compiled <command>bash</command> program (replacing
     66    <para os="i">Move the <command>bash</command> binary to
     67    <filename class="directory">/bin</filename>, overwriting the symlink
     68    that was previously created:</para>
     69
     70<screen os="j"><userinput>mv -v /usr/bin/bash /bin</userinput></screen>
     71
     72    <para os="k">Run the newly compiled <command>bash</command> program (replacing
    6873    the one that is currently being executed):</para>
    6974
    70 <screen os="j" role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen>
     75<screen os="l" role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen>
    7176
    72     <note os="k">
     77    <note os="m">
    7378      <para>The parameters used make the <command>bash</command>
    7479      process an interactive login shell and continue to disable hashing so
Note: See TracChangeset for help on using the changeset viewer.