Changeset e4c7d5c for final-system/common
- Timestamp:
- Jun 9, 2006, 1:55:59 PM (19 years ago)
- Children:
- b4a2602
- Parents:
- 75739bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
final-system/common/shadow.xml
r75739bf re4c7d5c 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.