Ignore:
Timestamp:
Jun 9, 2006, 1:55:59 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
4e0cb47
Parents:
20fd9b6
Message:

r3880@server: jim | 2006-06-09 13:27:18 -0700
Updates to Shadow 4.0.16 build instructions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/shadow.xml

    r20fd9b6 r38fcb2c  
    3636    <para os="b">Prepare Shadow for compilation:</para>
    3737
    38 <screen os="c"><userinput>./configure --libdir=/lib --enable-shared \
     38<screen os="c"><userinput>./configure --libdir=/lib --sysconfdir=/etc --enable-shared \
    3939    --without-libpam --without-audit --without-selinux</userinput></screen>
    4040
     
    8080<screen os="l"><userinput>make install</userinput></screen>
    8181
    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
    9783    <emphasis>crypt</emphasis> method, use the more secure
    9884    <emphasis>MD5</emphasis> method of password encryption, which also allows
     
    10490    while copying it to its destination:</para>
    10591
    106     <indexterm zone="shadow-login_defs" os="r">
     92    <indexterm zone="shadow-login_defs">
    10793      <primary sortas="e-/etc/login.defs">/etc/login.defs</primary>
    10894    </indexterm>
    10995
    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 &gt; /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>
    11399
    114100    <note os="t">
Note: See TracChangeset for help on using the changeset viewer.