Changeset 8f68b03
- Timestamp:
- 03/31/2006 03:16:39 PM (18 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 85feb93
- Parents:
- 919d2d9
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
r919d2d9 r8f68b03 52 52 <!ENTITY cracklib-version "2.8.9"> 53 53 <!ENTITY linux-pam-version "0.99.2.0"> 54 <!ENTITY shadow-version "4.0.1 3">54 <!ENTITY shadow-version "4.0.15"> 55 55 <!ENTITY iptables-version "1.3.3"> 56 56 <!ENTITY gnupg-version "1.4.2.2"> -
introduction/welcome/changelog.xml
r919d2d9 r8f68b03 46 46 <itemizedlist> 47 47 <listitem> 48 <para>[randy] - Updated to Shadow-4.0.15 (now current with the 49 LFS version).</para> 50 </listitem> 51 <listitem> 48 52 <para>[randy] - Updated to PHP-5.1.2.</para> 49 53 </listitem> -
postlfs/security/shadow.xml
r919d2d9 r8f68b03 7 7 <!ENTITY shadow-download-http "http://ftp.pld.org.pl/software/shadow/shadow-&shadow-version;.tar.bz2"> 8 8 <!ENTITY shadow-download-ftp "ftp://ftp.pld.org.pl/software/shadow/shadow-&shadow-version;.tar.bz2"> 9 <!ENTITY shadow-md5sum " 5c6a105d89afb0900922260e9c5650cc">10 <!ENTITY shadow-size "1. 0MB">11 <!ENTITY shadow-buildsize "1 3.6MB">9 <!ENTITY shadow-md5sum "a0452fa989f8ba45023cc5a08136568e"> 10 <!ENTITY shadow-size "1.2 MB"> 11 <!ENTITY shadow-buildsize "15.5 MB"> 12 12 <!ENTITY shadow-time "0.3 SBU"> 13 13 ]> … … 66 66 </itemizedlist> 67 67 68 <!-- 68 69 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 69 70 <itemizedlist spacing='compact'> … … 73 74 </listitem> 74 75 </itemizedlist> 76 --> 75 77 76 78 <bridgehead renderas="sect3">Shadow Dependencies</bridgehead> … … 94 96 password support via the <application>CrackLib</application> library 95 97 and you have not installed <application>Linux-PAM</application>, ensure 96 you replace the <parameter>--with-libpam --without-libcrack</parameter>97 parameters with <parameter>--with-libcrack</parameter>.</para>98 you add the <parameter>--with-libcrack</parameter> parameter to the 99 <command>configure</command> script below.</para> 98 100 </important> 99 101 … … 101 103 commands:</para> 102 104 103 <screen><userinput> patch -Np1 -i ../shadow-&shadow-version;-configure_fix-1.patch &&104 ./configure --libdir=/lib--enable-shared \105 --with-libpam --without-libcrack&&105 <screen><userinput>./configure --libdir=/lib \ 106 --enable-shared \ 107 --without-selinux && 106 108 sed -i 's/groups$(EXEEXT) //' src/Makefile && 107 109 find man -name Makefile -exec sed -i '/groups/d' {} \; && 110 sed -i -e 's/ ko//' \ 111 -e 's/ zh_CN zh_TW//' \ 112 man/Makefile && 113 114 for i in de es fi fr id it pt_BR; do 115 convert-mans UTF-8 ISO-8859-1 man/${i}/*.? 116 done && 117 118 for i in cs hu pl; do 119 convert-mans UTF-8 ISO-8859-2 man/${i}/*.? 120 done && 121 122 convert-mans UTF-8 EUC-JP man/ja/*.? && 123 convert-mans UTF-8 KOI8-R man/ru/*.? && 124 convert-mans UTF-8 ISO-8859-9 man/tr/*.? && 125 108 126 make</userinput></screen> 109 127 … … 123 141 <title>Command Explanations</title> 124 142 125 <para><parameter>--without-libcrack</parameter>: This switch tells 143 <!-- Removed the -with-libpam and -without-libcrack options from the 144 default as these are the defaults. Pam will automatically be picked 145 up if it is installed, and CrackLib won't be used unless specifically 146 requested via -with-libcrack 147 <para><parameter>-without-libcrack</parameter>: This switch tells 126 148 <application>Shadow</application> not to use 127 149 <filename class='libraryfile'>libcrack</filename>. This is desired as 128 150 <application>Linux-PAM</application> will provide 129 151 <filename class='libraryfile'>libcrack</filename> functionality.</para> 130 131 <para><command>sed -i ...</command>: These commands are used to suppress 132 the installation of the <command>groups</command> program and man pages 133 as the version from the <application>Coreutils</application> package 134 installed during LFS is preferred.</para> 152 --> 153 154 <para><parameter>--without-selinux</parameter>: Support for selinux is 155 enabled by default, but selinux is not built in a base LFS system. The 156 <command>configure</command> script will fail if this option is not 157 used.</para> 158 159 <para><command>sed -i 's/groups$(EXEEXT) //' src/Makefile</command>: This 160 command is used to suppress the installation of the 161 <command>groups</command> program as the version from the 162 <application>Coreutils</application> package installed during LFS is 163 preferred.</para> 164 165 <para><command>find man -name Makefile -exec ... {} \;</command>: This 166 command is used to suppress the installation of the 167 <command>groups</command> man pages so the existing ones installed from 168 the <application>Coreutils</application> package are not replaced.</para> 169 170 <para><command>sed -i -e '...' -e '...' man/Makefile</command>: This 171 command disables the installation of Chinese and Korean manual pages, since 172 <application>Man-DB</application> cannot format them properly.</para> 173 174 <para><command>convert-mans ...</command>: These commands are used to 175 convert some of the man pages so that <application>Man-DB</application> 176 will display them in the recommended encodings.</para> 177 178 <para><command>mv -v /usr/bin/passwd /bin</command>: The 179 <command>passwd</command> program may be needed during times when the 180 <filename class='directory'>/usr</filename> filesystem is not mounted so 181 it is moved into the root partition.</para> 182 183 <para><command>mv -v ...; rm -v ...; ln -v ...</command>: These commands 184 are used to move the <filename class='libraryfile'>libshadow</filename> 185 library to the root partition to support the moving of the 186 <command>passwd</command> program earlier.</para> 135 187 136 188 </sect2> … … 138 190 <sect2 role="configuration"> 139 191 <title>Configuring Linux-PAM to Work with Shadow</title> 192 193 <note> 194 <para>The rest of the page is devoted to configuring 195 <application>Shadow</application> to work properly with 196 <application>Linux-PAM</application>. If you do not have 197 <application>Linux-PAM</application> installed, and you reinstalled 198 <application>Shadow</application> to support strong passwords via 199 the <application>CrackLib</application> library, no further configuration 200 is required.</para> 201 </note> 140 202 141 203 <sect3 id="pam.d"> … … 166 228 <sect3> 167 229 <title>Configuration Information</title> 230 231 <para>Configuring your system to use <application>Linux-PAM</application> 232 can be a complex task. The information below will provide a basic setup 233 so that <application>Shadow</application>'s login and password 234 functionality will work effectively with 235 <application>Linux-PAM</application>. Review the information and links on 236 the <xref linkend="linux-pam"/> page for further configuration 237 information. For information specific to integrating 238 <application>Shadow</application>, <application>Linux-PAM</application> 239 and <application>CrackLib</application>, you can visit the following 240 links:</para> 241 242 <itemizedlist spacing="compact"> 243 <listitem> 244 <para><ulink 245 url="http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam-6.html#ss6.3"/></para> 246 </listitem> 247 <listitem> 248 <para><ulink 249 url="http://www.deer-run.com/~hal/sysadmin/pam_cracklib.html"/></para> 250 </listitem> 251 </itemizedlist> 168 252 169 253 <sect4 id="pam-login-defs"> … … 191 275 ULIMIT ENV_TZ ENV_HZ ENV_SUPATH \ 192 276 ENV_PATH QMAIL_DIR MAIL_DIR MAIL_FILE \ 193 CHFN_AUTH FAILLOG_ENAB QUOTAS_ENAB FTMP_FILE 277 CHFN_AUTH FAILLOG_ENAB QUOTAS_ENAB FTMP_FILE \ 278 OBSCURE_CHECKS_ENAB CRACKLIB_DICTPATH \ 279 PASS_CHANGE_TRIES PASS_ALWAYS_WARN 194 280 do 195 281 sed -i "s/^$FUNCTION/# &/" /etc/login.defs 196 282 done</userinput></screen> 283 284 <!-- Moved the commenting of these four parameters into the section 285 above. If PAM is installed, it complains if these are not commented 286 regardless if CrackLib is installed. 197 287 198 288 <para>If you have <application>CrackLib</application> installed, … … 205 295 sed -i "s/^$FUNCTION/# &/" /etc/login.defs 206 296 done</userinput></screen> 297 298 --> 207 299 208 300 </sect4>
Note:
See TracChangeset
for help on using the changeset viewer.