Ignore:
Timestamp:
Oct 10, 2012, 6:42:21 PM (13 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
f7b2c72
Parents:
0cce40d (diff), 80cbd64 (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 'master' of git.cross-lfs.org:cross-lfs

File:
1 edited

Legend:

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

    r0cce40d r73ace20  
    3434    </note>
    3535
    36     <para os="f1">Fix an issue with the Russian man pages:</para>
    37 
    38     <screen os="f2"><userinput>sed -i 's/man_MANS = $(man_nopam) /man_MANS = /' man/ru/Makefile.in</userinput></screen>
    39 
    40     <para os="b">Prepare Shadow for compilation:</para>
    41 
    42 <screen os="c"><userinput>./configure --sysconfdir=/etc</userinput></screen>
    43 
    44 <para os="d">The meaning of the configure options:</para>
    45 
    46   <variablelist os="e">
     36
     37    <para os="b">Disable the installation of the <command>groups</command>
     38    program and its man pages, as Coreutils provides a better version:</para>
     39
     40<screen os="c"><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile.in
     41find man -name Makefile.in -exec sed -i '/groups\.1\.xml/d' '{}' \;
     42find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;</userinput></screen>
     43
     44    <para os="d">Prepare Shadow for compilation:</para>
     45
     46<screen os="e"><userinput>./configure --sysconfdir=/etc</userinput></screen>
     47
     48<para os="f">The meaning of the configure options:</para>
     49
     50  <variablelist os="g">
    4751    <varlistentry>
    4852      <term><parameter>--sysconfdir=/etc</parameter></term>
     
    5155      <filename class="directory">/usr/etc</filename>.</para></listitem>
    5256    </varlistentry>
     57   
    5358  </variablelist>
    5459
    55     <para os="f">Disable the installation of the <command>groups</command>
    56     program and its man pages, as Coreutils provides a better version:</para>
    57 
    58 <screen os="g"><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
    59 find man -name Makefile -exec sed -i '/groups.1.xml/d' '{}' \;
    60 find man -name Makefile -exec sed -i 's/groups.1 //' '{}' \;</userinput></screen>
    6160
    6261    <para os="h">Compile the package:</para>
     
    7271    <para os="m" id="shadow-login_defs">Instead of using the default
    7372    <emphasis>crypt</emphasis> method, use the more secure
    74     <emphasis>MD5</emphasis> method of password encryption, which also allows
     73    <emphasis>SHA512</emphasis> method of password encryption, which also allows
    7574    passwords longer than 8 characters. It is also necessary to change the
    7675    obsolete <filename class="directory">/var/spool/mail</filename> location
     
    8584
    8685<screen os="s"><userinput>sed -i /etc/login.defs \
    87     -e 's@#\(ENCRYPT_METHOD \).*@\1MD5@' \
     86    -e 's@#\(ENCRYPT_METHOD \).*@\1SHA512@' \
    8887    -e 's@/var/spool/mail@/var/mail@'</userinput></screen>
    8988
Note: See TracChangeset for help on using the changeset viewer.