Changeset d1631d1 for BOOK/final-system/common/shadow.xml
- Timestamp:
- Feb 21, 2006, 2:29:51 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- da1d069
- Parents:
- 5c8aba6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/shadow.xml
r5c8aba6 rd1631d1 83 83 <screen os="i"><userinput>make</userinput></screen> 84 84 85 <para os="j">Install the package:</para> 86 87 <screen os="k"><userinput>make install</userinput></screen> 88 89 <para id="shadow-limits-login_access" os="l">Shadow uses two files to configure 85 <para os="j">This package does not come with a test suite.</para> 86 87 <para os="k">Install the package:</para> 88 89 <screen os="l"><userinput>make install</userinput></screen> 90 91 <para id="shadow-limits-login_access" os="m">Shadow uses two files to configure 90 92 authentication settings for the system. Install these two configuration 91 93 files:</para> 92 94 93 <indexterm zone="shadow-limits-login_access" os=" m">95 <indexterm zone="shadow-limits-login_access" os="n"> 94 96 <primary sortas="e-/etc/limits">/etc/limits</primary> 95 97 </indexterm> 96 98 97 <indexterm zone="shadow-limits-login_access" os=" n">99 <indexterm zone="shadow-limits-login_access" os="o"> 98 100 <primary sortas="e-/etc/login.access">/etc/login.access</primary> 99 101 </indexterm> 100 102 101 <screen os=" o"><userinput>cp -v etc/{limits,login.access} /etc</userinput></screen>102 103 <para id="shadow-login_defs" os=" p">Instead of using the default103 <screen os="p"><userinput>cp -v etc/{limits,login.access} /etc</userinput></screen> 104 105 <para id="shadow-login_defs" os="q">Instead of using the default 104 106 <emphasis>crypt</emphasis> method, use the more secure 105 107 <emphasis>MD5</emphasis> method of password encryption, which also allows … … 111 113 while copying it to its destination:</para> 112 114 113 <indexterm zone="shadow-login_defs" os=" q">115 <indexterm zone="shadow-login_defs" os="r"> 114 116 <primary sortas="e-/etc/login.defs">/etc/login.defs</primary> 115 117 </indexterm> 116 118 117 <note os=" r">119 <note os="s"> 118 120 <para>If you built Shadow with Cracklib support, insert the following into 119 121 the <command>sed</command> given below:</para> … … 122 124 </note> 123 125 124 <screen os=" s"><userinput>sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \126 <screen os="t"><userinput>sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \ 125 127 -e 's@/var/spool/mail@/var/mail@' \ 126 128 etc/login.defs > /etc/login.defs</userinput></screen> 127 129 128 <para os=" t">Move a misplaced program to its proper location:</para>129 130 <screen os=" u"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>131 132 <para os=" v">Move Shadow's dynamic libraries to a more appropriate130 <para os="u">Move a misplaced program to its proper location:</para> 131 132 <screen os="v"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen> 133 134 <para os="w">Move Shadow's dynamic libraries to a more appropriate 133 135 location:</para> 134 136 135 <screen os=" w"><userinput>mv -v /lib/libshadow.*a /usr/lib137 <screen os="x"><userinput>mv -v /lib/libshadow.*a /usr/lib 136 138 rm -v /lib/libshadow.so 137 139 ln -svf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen> 138 140 139 <para os=" x">The <option>-D</option> option of the <command>useradd</command>141 <para os="y">The <option>-D</option> option of the <command>useradd</command> 140 142 program requires the <filename class="directory">/etc/default</filename> 141 143 directory for it to work properly:</para> 142 144 143 <screen os=" y"><userinput>install -dv /etc/default</userinput></screen>145 <screen os="z"><userinput>install -dv /etc/default</userinput></screen> 144 146 145 147 </sect2>
Note: See TracChangeset
for help on using the changeset viewer.