On Tue, Apr 22, 2014 at 11:28:32AM -0700, bdu...@higgs.linuxfromscratch.org wrote: > Author: bdubbs > Date: Tue Apr 22 11:28:32 2014 > New Revision: 10546 > > Log: > Update users so all acl tests pass >
> > Modified: trunk/BOOK/chapter06/shadow.xml > ============================================================================== > --- trunk/BOOK/chapter06/shadow.xml Tue Apr 22 07:58:15 2014 (r10545) > +++ trunk/BOOK/chapter06/shadow.xml Tue Apr 22 11:28:32 2014 (r10546) > @@ -72,6 +72,11 @@ > <screen role="nodump"><userinput>sed -i > 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' > etc/login.defs</userinput></screen> > </note> > > + <para>Make a minor change to make the default useradd consistent with > the LFS > + groups file:</para> > + > +<screen><userinput remap="pre">sed -i 's/1000/999/' > etc/useradd</userinput></screen> > + > <para>Prepare Shadow for compilation:</para> > > <screen><userinput remap="configure">./configure > --sysconfdir=/etc</userinput></screen> Why 999 instead of 1000 ? I've had a users group in my own builds for years, probably derived from fedora, and it has always been 1000. Shadow is now maintained by debian, no ? So the fact that it too uses 1000 implies many people will already use 1000 for the group owning their files. OK, you can set up a completely new set of groups in the LFS system, but if you share /home between the original host system and LFS (e.g. until you feel confident that LFS is the right way for you) then this justs adds unnecessary change. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page