r1325 - in trunk/BOOK: . chapter01 chapter04 chapter06

Chris Buxton cbuxton at menandmice.com
Fri Jan 18 11:04:31 PST 2008


The download URL for shadow is wrong. It's missing "shadow-" right  
before the version number.

Chris Buxton
Professional Services
Men & Mice
Address: Noatun 17, IS-105, Reykjavik, Iceland
Phone:   +354 412 1500
Email:   cbuxton at menandmice.com
www.menandmice.com

Men & Mice
We bring control and flexibility to network management

This e-mail and its attachments may contain confidential and  
privileged information only intended for the person or entity to which  
it is addressed. If the reader of this message is not the intended  
recipient, you are hereby notified that any retention, dissemination,  
distribution or copy of this e-mail is strictly prohibited. If you  
have received this e-mail in error, please notify us immediately by  
reply e-mail and immediately delete this message and all its attachment.



On Jan 17, 2008, at 5:54 PM, robert at linuxfromscratch.org wrote:

> Author: robert
> Date: 2008-01-17 18:54:28 -0700 (Thu, 17 Jan 2008)
> New Revision: 1325
>
> Modified:
>   trunk/BOOK/chapter01/changelog.xml
>   trunk/BOOK/chapter04/patches.xml
>   trunk/BOOK/chapter06/shadow.xml
>   trunk/BOOK/packages.ent
>   trunk/BOOK/patches.ent
> Log:
> Bump to shadow-4.1.0
>
> Modified: trunk/BOOK/chapter01/changelog.xml
> ===================================================================
> --- trunk/BOOK/chapter01/changelog.xml	2008-01-18 00:37:11 UTC (rev  
> 1324)
> +++ trunk/BOOK/chapter01/changelog.xml	2008-01-18 01:54:28 UTC (rev  
> 1325)
> @@ -52,6 +52,9 @@
>       <para>January 17th, 2008</para>
>       <itemizedlist>
>         <listitem>
> +          <para>[robert] - Bump to shadow-4.1.0.</para>
> +        </listitem>
> +        <listitem>
>           <para>[robert] - Bump to psmisc-22.6.</para>
>         </listitem>
>         <listitem>
>
> Modified: trunk/BOOK/chapter04/patches.xml
> ===================================================================
> --- trunk/BOOK/chapter04/patches.xml	2008-01-18 00:37:11 UTC (rev  
> 1324)
> +++ trunk/BOOK/chapter04/patches.xml	2008-01-18 01:54:28 UTC (rev  
> 1325)
> @@ -446,14 +446,6 @@
>     </varlistentry>
>
>     <varlistentry>
> -      <term>Shadow Useradd Fix Patch - <token>&shadow-useradd_fix- 
> patch-size;</token>:</term>
> -      <listitem>
> -        <para>Download: <ulink url="&patches-root;&shadow- 
> useradd_fix-patch;"/></para>
> -        <para>MD5 sum: <literal>&shadow-useradd_fix-patch-md5;</ 
> literal></para>
> -      </listitem>
> -    </varlistentry>
> -
> -    <varlistentry>
>       <term>Sysklogd Community Fixes Patch - <token>&sysklogd- 
> community_fixes-patch-size;</token>:</term>
>       <listitem>
>         <para>Download: <ulink url="&patches-root;&sysklogd- 
> community_fixes-patch;"/></para>
>
> Modified: trunk/BOOK/chapter06/shadow.xml
> ===================================================================
> --- trunk/BOOK/chapter06/shadow.xml	2008-01-18 00:37:11 UTC (rev 1324)
> +++ trunk/BOOK/chapter06/shadow.xml	2008-01-18 01:54:28 UTC (rev 1325)
> @@ -35,13 +35,6 @@
>       command below.</para>
>     </note>
>
> -    <para>The following patch fixes a bug in <command>useradd</ 
> command> and
> -    <command>usermod</command>, from upstream. See:
> -    <ulink url="http://zie.pg.gda.pl/mailman/pipermail/shadow/2006-August/000385.html 
> "/>
> -    for more information:</para>
> -
> -<screen><userinput>patch -Np1 -i ../&shadow-useradd_fix-patch;</ 
> userinput></screen>
> -
> <!-- THIS IS RIDICULOUSLY BROKEN
>
>     <para role="misc">The Shadow package contains several suid  
> programs, which include
> @@ -90,8 +83,7 @@
>     and its man pages, as Coreutils provides a better version:</para>
>
> <screen><userinput>sed 's/groups$(EXEEXT) //' -i.orig src/Makefile
> -sed '/groups.1.xml/d' -i.orig man/Makefile
> -sed 's/groups.1//' -i.orig man/Makefile</userinput></screen>
> +sed -e '/groups.1.xml/d' -e 's/groups.1//' -i.orig man/Makefile</ 
> userinput></screen>
>
>     <para id="shadow-login_defs">Instead of using the default
>     <emphasis>crypt</emphasis> method, use the more secure
> @@ -207,13 +199,24 @@
>
> <screen><userinput>grpconv</userinput></screen>
>
> -    <para>Shadow's stock configuration for the <command>useradd</ 
> command>
> -    utility is not suitable for LFS systems.  Use the following  
> commands to
> -    change the default home directory for new users and prevent the  
> creation of
> +    <para>The <command>useradd</command> program expects the default
> +    group to exist, and will complain if it doesn't. This is normally
> +    the <quote>users</quote> group. Add this group, and make it the
> +    default, with the following command:</para>
> +
> +<screen><userinput>groupadd -g 100 users
> +useradd -D -g 100</userinput></screen>
> +
> +    <para>The message <quote>useradd: unknown GID 1000</quote> is
> +    normal, and should not be seen again.</para>
> +
> +    <para>The next command changes the default home directory for
> +    <command>useradd</command> to <filename
> +    class="directory">/home</filename>, and prevents the creation of
>     mail spool files:</para>
>
> <screen><userinput>useradd -D -b /home
> -sed 's/yes/no/' -i.orig /etc/default/useradd</userinput></screen>
> +sed 's/CREATE_MAIL_SPOOL.*/CREATE_MAIL_SPOOL=no/' -i /etc/default/ 
> useradd</userinput></screen>
>
>   </sect2>
>
>
> Modified: trunk/BOOK/packages.ent
> ===================================================================
> --- trunk/BOOK/packages.ent	2008-01-18 00:37:11 UTC (rev 1324)
> +++ trunk/BOOK/packages.ent	2008-01-18 01:54:28 UTC (rev 1325)
> @@ -317,9 +317,9 @@
> <!ENTITY sed-url "&gnu;sed/sed-&sed-version;.tar.gz">
> <!ENTITY sed-home "&gnu-software;sed/">
>
> -<!ENTITY shadow-version "4.0.18.2">
> -<!ENTITY shadow-size "1,586 KB">
> -<!ENTITY shadow-md5 "b900467e5c60c78b6d84b0353d1769d5">
> +<!ENTITY shadow-version "4.1.0">
> +<!ENTITY shadow-size "1,618 KB">
> +<!ENTITY shadow-md5 "dd6ca3ac424b447962d7a7af923b7bda">
> <!ENTITY shadow-url "ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/&shadow-version 
> ;.tar.bz2">
> <!ENTITY shadow-home "http://pkg-shadow.alioth.debian.org/">
>
>
> Modified: trunk/BOOK/patches.ent
> ===================================================================
> --- trunk/BOOK/patches.ent	2008-01-18 00:37:11 UTC (rev 1324)
> +++ trunk/BOOK/patches.ent	2008-01-18 01:54:28 UTC (rev 1325)
> @@ -216,10 +216,6 @@
> <!ENTITY sed-uClibc-patch-md5 "e28530daf56292b497a3b0870d421a49">
> <!ENTITY sed-uClibc-patch-size "4 KB">
>
> -<!ENTITY shadow-useradd_fix-patch "shadow-&shadow-version;- 
> useradd_fix-2.patch">
> -<!ENTITY shadow-useradd_fix-patch-md5  
> "1d0f598c79b5274a03c093a9d805385a">
> -<!ENTITY shadow-useradd_fix-patch-size "4 KB">
> -
> <!ENTITY sysklogd-community_fixes-patch "sysklogd-&sysklogd-version;- 
> community_fixes-1.patch">
> <!ENTITY sysklogd-community_fixes-patch-md5  
> "6f7d319be62271d66375209c018c21d2">
> <!ENTITY sysklogd-community_fixes-patch-size "56 KB">
>
> -- 
> http://linuxfromscratch.org/mailman/listinfo/hlfs-book
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page




More information about the hlfs-book mailing list