Changeset 7447a2c for BOOK


Ignore:
Timestamp:
Feb 21, 2006, 2:13:50 AM (19 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:
521c55b
Parents:
ed25565
Message:

r1087@server (orig r1085): chris | 2006-01-19 09:19:02 -0800
Removed shadow configure patch

Location:
BOOK
Files:
7 edited

Legend:

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

    red25565 r7447a2c  
    4343    </note>
    4444
    45     <para os="p1">Shadow has selinux, pam, and auditing defaulted to on. The
    46      following patch properly fixes this issue:</para>
    47 
    48 <screen os="p2"><userinput>patch -Np1 -i ../&shadow-configure_fix-patch;</userinput></screen>
    49 
    5045    <para os="b">Prepare Shadow for compilation:</para>
    5146
    52 <screen os="c"><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>
    53 
    54     <para os="d">Disable the installation of the <command>groups</command>
     47<screen os="c"><userinput>./configure --libdir=/lib --enable-shared \
     48    --without-libpam --without-audit --without-selinux</userinput></screen>
     49
     50<para os="d">The meaning of the configure options:</para>
     51
     52  <variablelist os="e">
     53    <varlistentry>
     54      <term><parameter>--without-libpam</parameter></term>
     55      <listitem><para>Support for Linux-PAM is enabled by default in Shadow,
     56      however PAM is not installed on a base LFS system, so this switch
     57      disables PAM support in Shadow. For instructions to install PAM and
     58      link Shadow to it, you can look at
     59      <ulink url="&blfs-root;view/svn/postlfs/shadow.html"/>.</para></listitem>
     60    </varlistentry>
     61    <varlistentry>
     62      <term><parameter>--without-audit</parameter></term>
     63      <listitem><para>Support for auditing is enabled by default, but a
     64      a library that it needs is not installed in a base LFS system. This
     65      switch disables auditing support.</para></listitem>
     66    </varlistentry>
     67    <varlistentry>
     68      <term><parameter>--without-selinux</parameter></term>
     69      <listitem><para>Support for selinux is enabled by default, but selinux
     70      is not built in a base LFS system and configure will fail without this
     71      switch.</para></listitem>
     72    </varlistentry>
     73  </variablelist>
     74
     75    <para os="f">Disable the installation of the <command>groups</command>
    5576    program and its man page, as Coreutils provides a better version:</para>
    5677
    57 <screen os="e"><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
     78<screen os="g"><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
    5879sed -i '/groups/d' man/Makefile</userinput></screen>
    5980
    60     <para os="f">Compile the package:</para>
    61 
    62 <screen os="g"><userinput>make</userinput></screen>
    63 
    64     <para os="h">Install the package:</para>
    65 
    66 <screen os="i"><userinput>make install</userinput></screen>
    67 
    68     <para id="shadow-limits-login_access" os="j">Shadow uses two files to configure
     81    <para os="h">Compile the package:</para>
     82
     83<screen os="i"><userinput>make</userinput></screen>
     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
    6990    authentication settings for the system. Install these two configuration
    7091    files:</para>
    7192
    72     <indexterm zone="shadow-limits-login_access" os="k">
     93    <indexterm zone="shadow-limits-login_access" os="m">
    7394      <primary sortas="e-/etc/limits">/etc/limits</primary>
    7495    </indexterm>
    7596
    76     <indexterm zone="shadow-limits-login_access" os="l">
     97    <indexterm zone="shadow-limits-login_access" os="n">
    7798      <primary sortas="e-/etc/login.access">/etc/login.access</primary>
    7899    </indexterm>
    79100
    80 <screen os="m"><userinput>cp etc/{limits,login.access} /etc</userinput></screen>
    81 
    82     <para id="shadow-login_defs" os="n">Instead of using the default
     101<screen os="o"><userinput>cp etc/{limits,login.access} /etc</userinput></screen>
     102
     103    <para id="shadow-login_defs" os="p">Instead of using the default
    83104    <emphasis>crypt</emphasis> method, use the more secure
    84105    <emphasis>MD5</emphasis> method of password encryption, which also allows
     
    90111    while copying it to its destination:</para>
    91112
    92     <indexterm zone="shadow-login_defs" os="o">
     113    <indexterm zone="shadow-login_defs" os="q">
    93114      <primary sortas="e-/etc/login.defs">/etc/login.defs</primary>
    94115    </indexterm>
    95116
    96     <note os="p">
     117    <note os="r">
    97118      <para>If you built Shadow with Cracklib support, insert the following into
    98119      the <command>sed</command> given below:</para>
     
    101122    </note>
    102123
    103 <screen os="q"><userinput>sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
     124<screen os="s"><userinput>sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
    104125    -e 's@/var/spool/mail@/var/mail@' \
    105126    etc/login.defs &gt; /etc/login.defs</userinput></screen>
    106127
    107     <para os="r">Move a misplaced program to its proper location:</para>
    108 
    109 <screen os="s"><userinput>mv /usr/bin/passwd /bin</userinput></screen>
    110 
    111     <para os="t">Move Shadow's dynamic libraries to a more appropriate
     128    <para os="t">Move a misplaced program to its proper location:</para>
     129
     130<screen os="u"><userinput>mv /usr/bin/passwd /bin</userinput></screen>
     131
     132    <para os="v">Move Shadow's dynamic libraries to a more appropriate
    112133    location:</para>
    113134
    114 <screen os="u"><userinput>mv /lib/libshadow.*a /usr/lib
     135<screen os="w"><userinput>mv /lib/libshadow.*a /usr/lib
    115136rm /lib/libshadow.so
    116137ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
    117138
    118     <para os="v">The <option>-D</option> option of the <command>useradd</command>
     139    <para os="x">The <option>-D</option> option of the <command>useradd</command>
    119140    program requires the <filename class="directory">/etc/default</filename>
    120141    directory for it to work properly:</para>
    121142
    122 <screen os="w"><userinput>install -d /etc/default</userinput></screen>
     143<screen os="y"><userinput>install -d /etc/default</userinput></screen>
    123144
    124145  </sect2>
  • BOOK/final-system/multilib/shadow-64bit.xml

    red25565 r7447a2c  
    3939    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4040    href="shadow.xml"
    41     xpointer="xpointer(//*[@os='p1'])"/>
    42 
    43     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    44     href="shadow.xml"
    45     xpointer="xpointer(//*[@os='p2'])"/>
    46 
    47     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    48     href="shadow.xml"
    4941    xpointer="xpointer(//*[@os='b'])"/>
    5042
    5143<screen os="c"><userinput>CC="gcc ${BUILD64}" ./configure --libdir=/lib64 \
    52    --enable-shared</userinput></screen>
     44   --enable-shared --without-libpam --without-audit --without-selinux</userinput></screen>
    5345
    5446    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7769
    7870    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    79     href="../common/shadow.xml"
     71    href="shadow.xml"
    8072    xpointer="xpointer(//*[@os='j'])"/>
    8173
    8274    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    83     href="../common/shadow.xml"
     75    href="shadow.xml"
    8476    xpointer="xpointer(//*[@os='k'])"/>
    8577
     
    109101
    110102    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    111     href="shadow.xml"
     103    href="../common/shadow.xml"
    112104    xpointer="xpointer(//*[@os='r'])"/>
    113105
    114106    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    115     href="shadow.xml"
     107    href="../common/shadow.xml"
    116108    xpointer="xpointer(//*[@os='s'])"/>
    117109
     
    119111    href="shadow.xml"
    120112    xpointer="xpointer(//*[@os='t'])"/>
     113
     114    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     115    href="shadow.xml"
     116    xpointer="xpointer(//*[@os='u'])"/>
     117
     118    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     119    href="shadow.xml"
     120    xpointer="xpointer(//*[@os='v'])"/>
    121121
    122122<screen os="u"><userinput>mv /lib64/libshadow.*a /usr/lib64
     
    126126    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    127127    href="../common/shadow.xml"
    128     xpointer="xpointer(//*[@os='v'])"/>
     128    xpointer="xpointer(//*[@os='x'])"/>
    129129
    130130    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    131131    href="../common/shadow.xml"
    132     xpointer="xpointer(//*[@os='w'])"/>
     132    xpointer="xpointer(//*[@os='y'])"/>
    133133
    134134  </sect2>
  • BOOK/final-system/multilib/shadow-n32.xml

    red25565 r7447a2c  
    4040    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4141    href="shadow.xml"
    42     xpointer="xpointer(//*[@os='p1'])"/>
    43 
    44     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    45     href="shadow.xml"
    46     xpointer="xpointer(//*[@os='p2'])"/>
    47 
    48     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    49     href="shadow.xml"
    5042    xpointer="xpointer(//*[@os='b'])"/>
    5143
    5244<screen os="c"><userinput>CC="gcc ${BUILDN32}" ./configure --libdir=/lib32 \
    53    --enable-shared</userinput></screen>
     45   --enable-shared --without-libpam --without-audit --without-selinux</userinput></screen>
    5446
    5547    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7971    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8072    href="shadow.xml"
    81     xpointer="xpointer(//*[@os='r'])"/>
     73    xpointer="xpointer(//*[@os='j'])"/>
    8274
    8375    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8476    href="shadow.xml"
    85     xpointer="xpointer(//*[@os='s'])"/>
     77    xpointer="xpointer(//*[@os='k'])"/>
    8678
    8779    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    8981    xpointer="xpointer(//*[@os='t'])"/>
    9082
    91 <screen os="u"><userinput>mv /lib32/libshadow.*a /usr/lib32
     83    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     84    href="shadow.xml"
     85    xpointer="xpointer(//*[@os='u'])"/>
     86
     87    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     88    href="shadow.xml"
     89    xpointer="xpointer(//*[@os='v'])"/>
     90
     91<screen os="w"><userinput>mv /lib32/libshadow.*a /usr/lib32
    9292rm /lib32/libshadow.so
    9393ln -sf ../../lib32/libshadow.so.0 /usr/lib32/libshadow.so</userinput></screen>
  • BOOK/final-system/multilib/shadow.xml

    red25565 r7447a2c  
    2929    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3030    href="../common/shadow.xml"
    31     xpointer="xpointer(//*[@os='p1'])"/>
    32 
    33     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    34     href="../common/shadow.xml"
    35     xpointer="xpointer(//*[@os='p2'])"/>
    36 
    37     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    38     href="../common/shadow.xml"
    3931    xpointer="xpointer(//*[@os='b'])"/>
    4032
    4133<screen os="c"><userinput>CC="gcc ${BUILD32}" ./configure --libdir=/lib \
    42    --enable-shared</userinput></screen>
     34   --enable-shared --without-libpam --without-audit --without-selinux</userinput></screen>
    4335
    4436    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6860    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    6961    href="../common/shadow.xml"
    70     xpointer="xpointer(//*[@os='r'])"/>
     62    xpointer="xpointer(//*[@os='j'])"/>
    7163
    7264    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7365    href="../common/shadow.xml"
    74     xpointer="xpointer(//*[@os='s'])"/>
     66    xpointer="xpointer(//*[@os='k'])"/>
    7567
    7668    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    8173    href="../common/shadow.xml"
    8274    xpointer="xpointer(//*[@os='u'])"/>
     75
     76    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     77    href="../common/shadow.xml"
     78    xpointer="xpointer(//*[@os='v'])"/>
     79
     80    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     81    href="../common/shadow.xml"
     82    xpointer="xpointer(//*[@os='w'])"/>
    8383
    8484  </sect2>
  • BOOK/general.ent

    red25565 r7447a2c  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    22
    3 <!ENTITY version "CLFS-SVN-20060115">
     3<!ENTITY version "CLFS-SVN-20060119">
    44<!ENTITY version-x86 "&version;-x86">
    55<!ENTITY version-x86_64 "&version;-x86_64-Multilib">
     
    1515<!ENTITY version-alpha "&version;-ALPHA">
    1616
    17 <!ENTITY releasedate "January 15, 2006">
     17<!ENTITY releasedate "January 19, 2006">
    1818<!ENTITY milestone "0.1">
    1919<!ENTITY generic-version "svn"> <!-- Use "svn", "testing", or "x.y[-pre{x}]" -->
  • BOOK/introduction/common/changelog.xml

    red25565 r7447a2c  
    3838
    3939    <listitem>
     40      <para>January 19, 2006</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[Chris] - Removed patch from shadow instructions.</para>
     44        </listitem>
     45      </itemizedlist>
     46    </listitem>
     47
     48    <listitem>
    4049      <para>January 13, 2006</para>
    4150      <itemizedlist>
  • BOOK/materials/common/patches.xml

    red25565 r7447a2c  
    171171    </varlistentry>
    172172
    173     <varlistentry os="p21">
    174       <term>Shadow Configure Fixes Patch - 3.0 KB:</term>
    175       <listitem>
    176         <para><ulink
    177         url="&patches-root;shadow/&shadow-configure_fix-patch;"/></para>
    178       </listitem>
    179     </varlistentry>
    180 
    181173    <varlistentry os="p22">
    182174      <term>Sysklogd Fixes Patch - 28 KB:</term>
Note: See TracChangeset for help on using the changeset viewer.