Changeset 1309e0e


Ignore:
Timestamp:
07/12/2023 07:54:16 PM (11 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1
Children:
86cdf39
Parents:
6167e6b (diff), f976691 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' into xry111/loongarch

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • appendices/dependencies.xml

    r6167e6b r1309e0e  
    18931893        <seglistitem>
    18941894          <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
    1895           Make, and Sed</seg>
     1895          Make, Perl, and Sed</seg>
    18961896        </seglistitem>
    18971897      </segmentedlist>
  • chapter08/libxcrypt.xml

    r6167e6b r1309e0e  
    100100      them at runtime. However, the only known binary-only applications
    101101      that link against these functions require ABI version 1.  If you must
    102       have such libraries because of some binary-only application or to be
     102      have such functions because of some binary-only application or to be
    103103      to be compliant with LSB, build the package again with the following
    104104      commands:</para>
  • chapter08/shadow.xml

    r6167e6b r1309e0e  
    6161
    6262    <para id="shadow-login_defs">Instead of using the default
    63     <emphasis>crypt</emphasis> method, use the more secure
    64     <emphasis>SHA-512</emphasis> method of password encryption, which also
    65     allows passwords longer than 8 characters. In addition, set the number of
    66     rounds to 500,000 instead of the default 5000, which is much too low to
    67     prevent brute force password attacks. It is also necessary to change
     63    <emphasis>crypt</emphasis> method, use the much more secure
     64    <emphasis>YESCRYPT</emphasis> method of password encryption, which also
     65    allows passwords longer than 8 characters.
     66    It is also necessary to change
    6867    the obsolete <filename class="directory">/var/spool/mail</filename> location
    6968    for user mailboxes that Shadow uses by default to the <filename
     
    8281    </note>
    8382
    84 <screen><userinput remap="pre">sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \
    85     -e 's@#\(SHA_CRYPT_..._ROUNDS 5000\)@\100@'       \
    86     -e 's:/var/spool/mail:/var/mail:'                 \
    87     -e '/PATH=/{s@/sbin:@@;s@/bin:@@}'                \
     83<screen><userinput remap="pre">sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD YESCRYPT:' \
     84    -e 's:/var/spool/mail:/var/mail:'                   \
     85    -e '/PATH=/{s@/sbin:@@;s@/bin:@@}'                  \
    8886    -i etc/login.defs</userinput></screen>
    8987
     
    107105
    108106<screen><userinput remap="configure">touch /usr/bin/passwd
    109 ./configure --sysconfdir=/etc \
    110             --disable-static  \
     107./configure --sysconfdir=/etc   \
     108            --disable-static    \
     109            --with-{b,yes}crypt \
    111110            --with-group-name-max-length=32</userinput></screen>
    112111
     
    123122        </listitem>
    124123      </varlistentry>
     124
     125      <varlistentry>
     126        <term><parameter>--with-{b,yes}crypt</parameter></term>
     127        <listitem>
     128          <para>The shell expands this to two switches,
     129          <parameter>--with-bcrypt</parameter> and
     130          <parameter>--with-yescrypt</parameter>.  They allow shadow to use
     131          the Bcrypt and Yescrypt algorithms implemented by
     132          <application>Libxcrypt</application> for hashing passwords.
     133          These algorithms are more secure (in particular, much more
     134          resistant to GPU-based attacks) than the traditional SHA
     135          algorithms.</para>
     136        </listitem>
     137      </varlistentry>
     138
    125139      <varlistentry>
    126140        <term><parameter>--with-group-name-max-length=32</parameter></term>
  • chapter10/kernel.xml

    r6167e6b r1309e0e  
    167167   [*] Control Group support [CONFIG_CGROUPS]   ---&gt;
    168168      [*] Memory controller [CONFIG_MEMCG]
    169    [ ] Enable deprecated sysfs features to support old userspace tools [CONFIG_SYSFS_DEPRECATED]
    170169   [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
    171170General architecture-dependent options  ---&gt;
  • packages.ent

    r6167e6b r1309e0e  
    433433<!ENTITY libxcrypt-version "4.4.35">
    434434<!ENTITY libxcrypt-size "612 KB">
    435 <!ENTITY libxcrypt-url "&github;/besser82/libxcrypt/releases/download/&libxcrypt-version;/libxcrypt-&libxcrypt-version;.tar.xz">
     435<!ENTITY libxcrypt-url "&github;/besser82/libxcrypt/releases/download/v&libxcrypt-version;/libxcrypt-&libxcrypt-version;.tar.xz">
    436436<!ENTITY libxcrypt-md5 "1d8487dfc43ee8e31a858456b868f836">
    437437<!ENTITY libxcrypt-home "&github;/besser82/libxcrypt/">
Note: See TracChangeset for help on using the changeset viewer.