Changeset 6869595 for postlfs/security
- Timestamp:
- 09/05/2007 01:00:16 AM (17 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 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, gimp3, 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/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 821b3bfc
- Parents:
- 4d6d306
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/linux-pam.xml
r4d6d306 r6869595 95 95 running the following commands:</para> 96 96 97 <screen><userinput>./configure --libdir=/ usr/lib \97 <screen><userinput>./configure --libdir=/lib \ 98 98 --sbindir=/lib/security \ 99 99 --enable-securedir=/lib/security \ … … 124 124 <screen role="root"><userinput>make install && 125 125 chmod -v 4755 /lib/security/unix_chkpwd && 126 126 127 mv -v /lib/security/pam_tally /sbin && 127 mv -v /usr/lib/libpam*.so.0* /lib && 128 ln -v -sf ../../lib/libpam.so.0.81.6 /usr/lib/libpam.so && 129 ln -v -sf ../../lib/libpamc.so.0.81.0 /usr/lib/libpamc.so && 130 ln -v -sf ../../lib/libpam_misc.so.0.81.2 /usr/lib/libpam_misc.so</userinput></screen> 128 129 mv -v /lib/libpam{,c,_misc}.la /usr/lib && 130 sed -i 's| /lib| /usr/lib|' /usr/lib/libpam_misc.la && 131 132 for LINK in libpam{,c,_misc}.so; do 133 ln -v -sf ../../lib/$(readlink /lib/${LINK}) /usr/lib/${LINK} && 134 rm -v /lib/${LINK} 135 done</userinput></screen> 131 136 132 137 <!-- <para>If you downloaded the documentation, install it using the following … … 143 148 <title>Command Explanations</title> 144 149 145 <para><parameter>--libdir=/ usr/lib</parameter>: This parameter results in150 <para><parameter>--libdir=/lib</parameter>: This parameter results in 146 151 the libraries being installed in 147 <filename class='directory'>/usr/lib</filename>.</para> 152 <filename class='directory'>/lib</filename> as they may be required in 153 single-user mode.</para> 148 154 149 155 <para><parameter>--sbindir=/lib/security</parameter>: This parameter 150 results in two executables, one which is not intended to be run from the156 results in two executables, one of which is not intended to be run from the 151 157 command line, being installed in the same directory as the PAM modules. 152 One of the executablesis later moved to the158 The other executable is later moved to the 153 159 <filename class='directory'>/sbin</filename> directory.</para> 154 160 … … 174 180 appropriate directory.</para> 175 181 176 <para><command>mv -v /usr/lib/libpam*.so.0* /lib</command>: This command 177 moves the dynamic libraries to <filename class='directory'>/lib</filename> 178 as they may be required in single user mode.</para> 179 180 <para><command>ln -v -sf ...</command>: These commands recreate the 181 <filename class='symlink'>.so</filename> symlinks as the libraries they 182 pointed to were moved to <filename class='directory'>/lib</filename>.</para> 182 <para><command>mv -v /lib/libpam{,c,_misc}.la /usr/lib</command>: This 183 command moves the <application>Libtool</application> library files to 184 <filename class='directory'>/usr/lib</filename> as they are expected to 185 reside there.</para> 186 187 <para><command>sed -i 's| /lib| /usr/lib|' 188 /usr/lib/libpam_misc.la</command>: This command corrects an installation 189 reference due to the file being moved in the previous step.</para> 190 191 <para><command>for ...; do ...; done</command>: These commands are used 192 to relocate the <filename class='symlink'>.so</filename> files into 193 <filename class='directory'>/usr/lib</filename>. The 194 <command>readlink</command> command is used so that the commands are not 195 specific to the names of the libraries, and will work regardless of the 196 version number extensions of the library names.</para> 183 197 184 198 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.