Changeset 2822654 for chapter06/shadow.xml
- Timestamp:
- 09/18/2007 09:39:40 PM (17 years ago)
- Children:
- 638fa13
- Parents:
- 6aa2db52
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/shadow.xml
r6aa2db52 r2822654 54 54 names rather than group ID numbers to the <option>-g</option> option:</para> 55 55 56 <screen><userinput >patch -Np1 -i ../&shadow-useradd-patch;</userinput></screen>56 <screen><userinput remap="pre">patch -Np1 -i ../&shadow-useradd-patch;</userinput></screen> 57 57 58 58 <para>Prepare Shadow for compilation:</para> 59 59 60 <screen><userinput >./configure --libdir=/lib --sysconfdir=/etc --enable-shared \60 <screen><userinput remap="configure">./configure --libdir=/lib --sysconfdir=/etc --enable-shared \ 61 61 --without-selinux</userinput></screen> 62 62 … … 78 78 and its man pages, as Coreutils provides a better version:</para> 79 79 80 <screen><userinput >sed -i 's/groups$(EXEEXT) //' src/Makefile80 <screen><userinput remap="configure">sed -i 's/groups$(EXEEXT) //' src/Makefile 81 81 find man -name Makefile -exec sed -i 's/groups\.1 / /' {} \;</userinput></screen> 82 82 … … 84 84 Man-DB cannot format them properly:</para> 85 85 86 <screen><userinput >sed -i -e 's/ ko//' -e 's/ zh_CN zh_TW//' man/Makefile</userinput></screen>86 <screen><userinput remap="configure">sed -i -e 's/ ko//' -e 's/ zh_CN zh_TW//' man/Makefile</userinput></screen> 87 87 88 88 <para>Shadow supplies other manual pages in a UTF-8 encoding. Man-DB … … 90 90 <command>convert-mans</command> script which we installed:</para> 91 91 92 <screen><userinput >for i in de es fi fr id it pt_BR; do92 <screen><userinput remap="configure">for i in de es fi fr id it pt_BR; do 93 93 convert-mans UTF-8 ISO-8859-1 man/${i}/*.? 94 94 done … … 110 110 class="directory">/var/mail</filename> location used currently:</para> 111 111 112 <screen><userinput >sed -i -e 's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \112 <screen><userinput remap="configure">sed -i -e 's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \ 113 113 -e 's@/var/spool/mail@/var/mail@' etc/login.defs</userinput></screen> 114 114 … … 122 122 <para>Compile the package:</para> 123 123 124 <screen><userinput >make</userinput></screen>124 <screen><userinput remap="make">make</userinput></screen> 125 125 126 126 <para>This package does not come with a test suite.</para> … … 128 128 <para>Install the package:</para> 129 129 130 <screen><userinput >make install</userinput></screen>130 <screen><userinput remap="install">make install</userinput></screen> 131 131 132 132 <para>Move a misplaced program to its proper location:</para> 133 133 134 <screen><userinput >mv -v /usr/bin/passwd /bin</userinput></screen>134 <screen><userinput remap="install">mv -v /usr/bin/passwd /bin</userinput></screen> 135 135 136 136 <para>Move Shadow's libraries to more appropriate locations:</para> 137 137 138 <screen><userinput >mv -v /lib/libshadow.*a /usr/lib138 <screen><userinput remap="install">mv -v /lib/libshadow.*a /usr/lib 139 139 rm -v /lib/libshadow.so 140 140 ln -sfv ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.