Changeset 7c95cc1


Ignore:
Timestamp:
05/19/2021 01:36:04 AM (2 months ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
trunk
Children:
d4eefa36
Parents:
5a86470
Message:

shadow: sync the seds with LFS.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r5a86470 r7c95cc1  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[renodr] - Update the default path in shadow to be consistent
     49          with LFS.</para>
     50        </listitem>
     51        <listitem>
    4852          <para>[renodr] - Force libxcb to use python3, even if python2 is
    4953          present on the system.</para>
  • postlfs/security/shadow.xml

    r5a86470 r7c95cc1  
    126126sed -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \
    127127    -e 's@/var/spool/mail@/var/mail@'                 \
     128    -e '/PATH=/{s@/sbin:@@;s@/bin:@@}'                \
    128129    -i etc/login.defs                                 &amp;&amp;
    129130
     
    164165    <para>
    165166      <command>sed -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' -e
    166       's@/var/spool/mail@/var/mail@' -i etc/login.defs</command>: Instead of using
     167      's@/var/spool/mail@/var/mail@' -e '/PATH=/{s@/sbin:@@;s@/bin:@@}'
     168      -i etc/login.defs</command>: Instead of using
    167169      the default 'DES' method, this command modifies the installation to use
    168170      the more secure 'SHA512' method of hashing passwords, which also allows
     
    170172      <filename class="directory">/var/spool/mail</filename> location for user
    171173      mailboxes that <application>Shadow</application> uses by default to the
    172       <filename class="directory">/var/mail</filename> location.
     174      <filename class="directory">/var/mail</filename> location. It also
     175      changes the default path to be consistent with that set in LFS.
    173176    </para>
    174177
Note: See TracChangeset for help on using the changeset viewer.