Changeset 73ace20 for BOOK/final-system/common/shadow.xml
- Timestamp:
- Oct 10, 2012, 6:42:21 PM (13 years ago)
- 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. - File:
-
- 1 edited
-
BOOK/final-system/common/shadow.xml (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/shadow.xml
r0cce40d r73ace20 34 34 </note> 35 35 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 41 find man -name Makefile.in -exec sed -i '/groups\.1\.xml/d' '{}' \; 42 find 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"> 47 51 <varlistentry> 48 52 <term><parameter>--sysconfdir=/etc</parameter></term> … … 51 55 <filename class="directory">/usr/etc</filename>.</para></listitem> 52 56 </varlistentry> 57 53 58 </variablelist> 54 59 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/Makefile59 find man -name Makefile -exec sed -i '/groups.1.xml/d' '{}' \;60 find man -name Makefile -exec sed -i 's/groups.1 //' '{}' \;</userinput></screen>61 60 62 61 <para os="h">Compile the package:</para> … … 72 71 <para os="m" id="shadow-login_defs">Instead of using the default 73 72 <emphasis>crypt</emphasis> method, use the more secure 74 <emphasis> MD5</emphasis> method of password encryption, which also allows73 <emphasis>SHA512</emphasis> method of password encryption, which also allows 75 74 passwords longer than 8 characters. It is also necessary to change the 76 75 obsolete <filename class="directory">/var/spool/mail</filename> location … … 85 84 86 85 <screen os="s"><userinput>sed -i /etc/login.defs \ 87 -e 's@#\(ENCRYPT_METHOD \).*@\1 MD5@' \86 -e 's@#\(ENCRYPT_METHOD \).*@\1SHA512@' \ 88 87 -e 's@/var/spool/mail@/var/mail@'</userinput></screen> 89 88
Note:
See TracChangeset
for help on using the changeset viewer.
