Changeset 7c95cc15 for postlfs


Ignore:
Timestamp:
05/19/2021 01:36:04 AM (3 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
d4eefa36
Parents:
5a86470
Message:

shadow: sync the seds with LFS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/shadow.xml

    r5a86470 r7c95cc15  
    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.