Changeset 38fcb2c for BOOK/final-system/common
- Timestamp:
- Jun 9, 2006, 1:55:59 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 4e0cb47
- Parents:
- 20fd9b6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/shadow.xml
r20fd9b6 r38fcb2c 36 36 <para os="b">Prepare Shadow for compilation:</para> 37 37 38 <screen os="c"><userinput>./configure --libdir=/lib -- enable-shared \38 <screen os="c"><userinput>./configure --libdir=/lib --sysconfdir=/etc --enable-shared \ 39 39 --without-libpam --without-audit --without-selinux</userinput></screen> 40 40 … … 80 80 <screen os="l"><userinput>make install</userinput></screen> 81 81 82 <para id="shadow-limits-login_access" os="m">Shadow uses two files to configure 83 authentication settings for the system. Install these two configuration 84 files:</para> 85 86 <indexterm zone="shadow-limits-login_access" os="n"> 87 <primary sortas="e-/etc/limits">/etc/limits</primary> 88 </indexterm> 89 90 <indexterm zone="shadow-limits-login_access" os="o"> 91 <primary sortas="e-/etc/login.access">/etc/login.access</primary> 92 </indexterm> 93 94 <screen os="p"><userinput>cp -v etc/{limits,login.access} /etc</userinput></screen> 95 96 <para id="shadow-login_defs" os="q">Instead of using the default 82 <para id="shadow-login_defs">Instead of using the default 97 83 <emphasis>crypt</emphasis> method, use the more secure 98 84 <emphasis>MD5</emphasis> method of password encryption, which also allows … … 104 90 while copying it to its destination:</para> 105 91 106 <indexterm zone="shadow-login_defs" os="r">92 <indexterm zone="shadow-login_defs"> 107 93 <primary sortas="e-/etc/login.defs">/etc/login.defs</primary> 108 94 </indexterm> 109 95 110 <screen os="s"><userinput>sed - e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@'\111 -e 's@ /var/spool/mail@/var/mail@' \112 etc/login.defs > /etc/login.defs</userinput></screen>96 <screen os="s"><userinput>sed -i /etc/login.defs \ 97 -e 's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \ 98 -e 's@/var/spool/mail@/var/mail@'</userinput></screen> 113 99 114 100 <note os="t">
Note:
See TracChangeset
for help on using the changeset viewer.