Changeset 4bcd65c


Ignore:
Timestamp:
05/08/2021 06:12:56 PM (6 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/usr-move
Children:
2fcfa27
Parents:
c7ef59f
Message:

usr-move: configure shadow not to include /bin or /sbin in PATH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/shadow.xml

    rc7ef59f r4bcd65c  
    119119
    120120<screen><userinput remap="install">make install</userinput></screen>
     121
     122    <para>Adjust the configuration file <filename>login.defs</filename> to
     123    set up <envar>PATH</envar> correctly for the merged
     124    <filename class="directory">/usr</filename> hierarchy of LFS:</para>
     125
     126<screen><userinput remap="install">sed 's@/sbin:@@; s@/bin:@@' -i /etc/login.defs</userinput></screen>
    121127
    122128  </sect2>
Note: See TracChangeset for help on using the changeset viewer.