Changeset ade3efa for chapter08/shadow.xml
- Timestamp:
- 01/14/2022 07:43:28 PM (2 years ago)
- Branches:
- 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 7ad1056, f94c8ba
- Parents:
- 5ff21a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/shadow.xml
r5ff21a4 rade3efa 41 41 <sect2 role="installation"> 42 42 <title>Installation of Shadow</title> 43 44 <para>First, apply a fix to prevent a segmentation fault when running45 <command>useradd</command>:</para>46 47 <!-- Hardcoding the patch version because it has been merged upstream and48 the patch will be unnecessary when the next version is released. -->49 50 <screen><userinput remap="pre">patch -Np1 -i ../shadow-4.10-useradd_segfault-1.patch</userinput></screen>51 43 52 44 <note> … … 104 96 <screen><userinput remap="pre">sed -i 's/1000/999/' etc/useradd</userinput></screen> 105 97 --> 98 <!-- 106 99 <para>Fix a simple programming error by modifying a file with following command:</para> 107 100 108 101 <screen><userinput remap="pre">sed -e "224s/rounds/min_rounds/" -i libmisc/salt.c</userinput></screen> 109 102 --> 110 103 <para>Prepare Shadow for compilation:</para> 111 104 … … 122 115 <para>The file <filename>/usr/bin/passwd</filename> needs 123 116 to exist because its location is harcoded in some programs, and 124 the default location if it does not existis not right.</para>117 if it does not exist, the default location is not right.</para> 125 118 </listitem> 126 119 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.