Changeset 338c63f for chapter06


Ignore:
Timestamp:
05/30/2020 06:14:52 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
5a430f1
Parents:
9c5cdd8a
Message:

Fix groups for user tester, and a forgotten tester in sed tests

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11877 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter06/coreutils.xml

    r9c5cdd8a r338c63f  
    117117    user <systemitem class="username">tester</systemitem> a part of it:</para>
    118118
    119 <screen><userinput remap="test">echo "tester:x:1000:nogroup" &gt;&gt; /etc/group</userinput></screen>
     119<screen><userinput remap="test">echo "dummy:x:1000:tester" &gt;&gt; /etc/group</userinput></screen>
    120120
    121121    <para>Fix some of the permissions so that the non-root user can compile and
     
    133133    passes if run at the end of this chapter.  The test program tty.sh is
    134134    also known to fail.</para>
     135-->
    135136
    136137    <para>Remove the temporary group:</para>
    137138
    138139<screen><userinput remap="test">sed -i '/dummy/d' /etc/group</userinput></screen>
    139 -->
    140140    <para>Install the package:</para>
    141141
  • chapter06/createfiles.xml

    r9c5cdd8a r338c63f  
    347347
    348348<screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
    349 echo "tester:x:101:dummy" &gt;&gt; /etc/group
     349echo "tester:x:101:" &gt;&gt; /etc/group
    350350install -o tester -d /home/tester</userinput></screen>
    351351
  • chapter06/sed.xml

    r9c5cdd8a r338c63f  
    5757
    5858<screen><userinput remap="test">chown -Rv tester .
    59 su -c "PATH=$PATH make check"</userinput></screen>
     59su tester -c "PATH=$PATH make check"</userinput></screen>
    6060
    6161    <para>Install the package and its documentation:</para>
Note: See TracChangeset for help on using the changeset viewer.