Changeset 903f671
- Timestamp:
- 02/15/2009 05:59:51 PM (15 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
- bca744f
- Parents:
- 7147513
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
r7147513 r903f671 4 4 --> 5 5 6 <!ENTITY day "1 3"> <!-- Always 2 digits -->6 <!ENTITY day "15"> <!-- Always 2 digits --> 7 7 <!ENTITY month "02"> <!-- Always 2 digits --> 8 8 <!ENTITY year "2009"> … … 63 63 <!ENTITY gnutls-version "1.6.3"> 64 64 <!ENTITY cracklib-version "2.8.13"> 65 <!ENTITY linux-pam-version " 0.99.10.0">65 <!ENTITY linux-pam-version "1.0.3"> 66 66 <!ENTITY shadow-version "4.0.18.1"> 67 67 <!ENTITY iptables-version "1.3.8"> -
introduction/welcome/changelog.xml
r7147513 r903f671 43 43 44 44 <listitem> 45 <para>February 15th, 2009</para> 46 <itemizedlist> 47 <listitem> 48 <para>[randy] - Updated to Linux-PAM-1.0.3.</para> 49 </listitem> 50 </itemizedlist> 51 </listitem> 52 53 <listitem> 45 54 <para>February 13th, 2009</para> 46 55 <itemizedlist> -
postlfs/security/linux-pam.xml
r7147513 r903f671 5 5 %general-entities; 6 6 7 <!ENTITY linux-pam-download-http "http://www.kernel.org/pub/linux/libs/pam/ pre/library/Linux-PAM-&linux-pam-version;.tar.bz2">8 <!ENTITY linux-pam-download-ftp "ftp://ftp.kernel.org/pub/linux/libs/pam/ pre/library/Linux-PAM-&linux-pam-version;.tar.bz2">9 <!ENTITY linux-pam-md5sum " be4dd1d34ac5933408e13e48f3eb710a">10 <!ENTITY linux-pam-size " 911 kB">11 <!ENTITY linux-pam-buildsize " 23 MB">7 <!ENTITY linux-pam-download-http "http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-&linux-pam-version;.tar.bz2"> 8 <!ENTITY linux-pam-download-ftp "ftp://ftp.kernel.org/pub/linux/libs/pam/library/Linux-PAM-&linux-pam-version;.tar.bz2"> 9 <!ENTITY linux-pam-md5sum "7cc8653cb31717dbb1380bde980c9fdf"> 10 <!ENTITY linux-pam-size "1.0 MB"> 11 <!ENTITY linux-pam-buildsize "19 MB (includes installing the optional documentation)"> 12 12 <!ENTITY linux-pam-time "0.6 SBU"> 13 <!ENTITY linux-pam-docs-download "&sources-anduin-http;/l/Linux-PAM-&linux-pam-version;-docs.tar.bz2"> 13 14 <!ENTITY linux-pam-docs-download "http://www.kernel.org/pub/linux/libs/pam/documentation/Linux-PAM-&linux-pam-version;-docs.tar.bz2"> 15 <!ENTITY linux-pam-docs-md5sum "119bffcb3e99e1d6d53a4d992584c03d"> 16 <!ENTITY linux-pam-docs-size "714 KB"> 14 17 ]> 15 18 … … 61 64 <itemizedlist spacing='compact'> 62 65 <listitem> 63 <para>Optional documentation: 64 <ulink url="&linux-pam-docs-download;"/></para> 66 <para>Optional documentation: <ulink url="&linux-pam-docs-download;"/></para> 67 </listitem> 68 <listitem> 69 <para>Download MD5sum: &linux-pam-docs-md5sum;</para> 70 </listitem> 71 <listitem> 72 <para>Download size &linux-pam-docs-size;</para> 65 73 </listitem> 66 74 </itemizedlist> … … 69 77 70 78 <bridgehead renderas="sect4">Optional</bridgehead> 71 <para role="optional"><xref linkend="cracklib"/>, and 79 <para role="optional"><xref linkend="cracklib"/>, 80 <xref linkend="x-window-system"/>, and 72 81 <!-- <xref linkend="db"/> (for the pam_userdb module), --> 73 82 <ulink url="http://www.prelude-ids.org/">Prelude</ulink></para> … … 88 97 <title>Installation of Linux-PAM</title> 89 98 90 <para>If you downloaded the documentation, unpack the tarball from the 91 same top-level directory you unpacked the source tarball from. The files 92 will unpack into the correct directories of the source tree.</para> 99 <para>If you downloaded the documentation, unpack the tarball by issuing 100 the following command.</para> 101 102 <screen><userinput>tar xf ../Linux-PAM-&linux-pam-version;.tar.bz2 --strip-components=1</userinput></screen> 93 103 94 104 <para>Install <application>Linux-PAM</application> by 95 105 running the following commands:</para> 96 106 97 <screen><userinput>./configure --libdir=/lib \ 98 --sbindir=/lib/security \ 99 --enable-securedir=/lib/security \ 107 <screen><userinput>./configure --sbindir=/lib/security \ 100 108 --docdir=/usr/share/doc/Linux-PAM-&linux-pam-version; \ 101 --enable-read-both-confs \ 102 --with-xauth=/usr/X11R6/bin/xauth && 109 --enable-read-both-confs && 103 110 make</userinput></screen> 104 111 105 <!-- <para>To test the results, issue <command>make check</command>.</para> --> 106 107 <para>The test suite will not provide meaningful results until the package 108 has been installed and minimally configured. If, after installing the 109 package and creating a minimum configuration as shown below in the 'other' 110 example, you wish to run the tests, issue 111 <command>make check</command>.</para> 112 113 <!-- <tip> 114 <para>Don't delete the <application>Linux-PAM</application> source tree 115 until after you reinstall the <application>Shadow</application> package. 116 The reinstallation of the Shadow package includes much more stringent 117 security for the PAM configuration, and you can run the 118 <application>Linux-PAM</application> test suite after completing the 119 <application>Shadow</application> instructions to test the new setup. All 120 the tests should pass.</para> 121 </tip> --> 112 <para>To test the results, a configuration file must be created. This file 113 will be removed after the tests have completed. Ensure there are no errors 114 produced by the tests before continuing the installation. First create the 115 configuration file by issuing the following commands as the 116 <systemitem class="username">root</systemitem> user:</para> 117 118 <screen role="root"><userinput>install -v -m755 -d /etc/pam.d && 119 120 cat > /etc/pam.d/other << "EOF" 121 auth required pam_deny.so 122 account required pam_deny.so 123 password required pam_deny.so 124 session required pam_deny.so 125 EOF</userinput></screen> 126 127 <para>Now run the tests by issuing <command>make check</command>.</para> 128 129 <para>Remove the configuration file created earlier by issuing the 130 following command as the 131 <systemitem class="username">root</systemitem> user:</para> 132 133 <screen role="root"><userinput>rm -rfv /etc/pam.d</userinput></screen> 122 134 123 135 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> … … 138 150 fi</userinput></screen> 139 151 140 <!-- <para>If you downloaded the documentation, install it using the following141 command:</para>142 143 <screen role="root"><userinput>for DOCTYPE in html pdf ps txts144 do145 cp -v -R doc/$DOCTYPE /usr/share/doc/Linux-PAM-&linux-pam-version;146 done</userinput></screen> -->147 148 152 </sect2> 149 153 … … 151 155 <title>Command Explanations</title> 152 156 153 <para><parameter>--libdir=/lib</parameter>: This parameter results in154 the libraries being installed in155 <filename class='directory'>/lib</filename> as they may be required in156 single-user mode.</para>157 158 157 <para><parameter>--sbindir=/lib/security</parameter>: This parameter 159 results in t wo executables, one of which is not intended to be run from the160 command line, being installed in the same directory as the PAM modules.158 results in three executables, two of which are not intended to be run from 159 the command line, being installed in the same directory as the PAM modules. 161 160 The other executable is later moved to the 162 161 <filename class='directory'>/sbin</filename> directory.</para> 163 164 <para><parameter>--enable-securedir=/lib/security</parameter>: This165 parameter results in the PAM modules being installed in166 <filename class='directory'>/lib/security</filename>.</para>167 162 168 163 <para><parameter>--docdir=...</parameter>: This parameter results in … … 173 168 use.</para> 174 169 175 <para><parameter>--with-xauth=/usr/X11R6/bin/xauth</parameter>: This 170 <!-- This appears unnecessary as the xauth module is created even if X 171 has not yet been installed. 172 <para><parameter>-with-xauth=/usr/X11R6/bin/xauth</parameter>: This 176 173 parameter forces the build of the pam_xauth module, even if xauth is not 177 174 yet installed. Omit this switch if you have no plans to build 178 175 <application>Xorg</application>, or modify the path if you intend to 179 install <application>Xorg</application> into a non-standard path.</para> 176 install <application>Xorg</application> into a non-standard path.</para> --> 180 177 181 178 <para><command>chmod -v 4755 /lib/security/unix_chkpwd</command>: … … 266 263 <para>Refer to <ulink 267 264 url="http://www.kernel.org/pub/linux/libs/pam/modules.html"/> 268 for a list of various modules available.</para>265 for a list of various third-party modules available.</para> 269 266 270 267 <important> … … 287 284 <seglistitem> 288 285 <seg>pam_tally</seg> 289 <seg>libpam.{so,a}, libpamc.{so,a}, and libpam_misc.{so,a}</seg> 290 <seg>/etc/pam.d, /etc/security, /lib/security and 291 /usr/include/security</seg> 286 <seg>libpam.{so,a}, libpamc.{so,a}, libpam_misc.{so,a} and 287 numerous PAM modules</seg> 288 <seg>/etc/pam.d, /etc/security, /lib/security, 289 /usr/include/security, /usr/share/doc/Linux-PAM-&linux-pam-version; 290 and /var/run/sepermit</seg> 292 291 </seglistitem> 293 292 </segmentedlist>
Note:
See TracChangeset
for help on using the changeset viewer.