Changeset 38fcb2c for BOOK/final-system
- 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
- Location:
- BOOK/final-system
- Files:
-
- 2 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"> -
BOOK/final-system/multilib/shadow-64bit.xml
r20fd9b6 r38fcb2c 83 83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 84 84 href="../common/shadow.xml" 85 xpointer="xpointer(//*[@os='m'])"/>86 87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"88 href="../common/shadow.xml"89 xpointer="xpointer(//*[@os='n'])"/>90 91 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"92 href="../common/shadow.xml"93 xpointer="xpointer(//*[@os='o'])"/>94 95 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"96 href="../common/shadow.xml"97 xpointer="xpointer(//*[@os='p'])"/>98 99 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"100 href="../common/shadow.xml"101 xpointer="xpointer(//*[@os='q'])"/>102 103 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"104 href="../common/shadow.xml"105 xpointer="xpointer(//*[@os='r'])"/>106 107 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"108 href="../common/shadow.xml"109 85 xpointer="xpointer(//*[@os='s'])"/> 110 86
Note:
See TracChangeset
for help on using the changeset viewer.