[Clfs-dev] Section 10.21 Util Linux tests + 10.24 Coreutils

Martin Ward macros_the_black at ntlworld.com
Mon Nov 18 10:41:45 PST 2013


On 18/11/13 15:06, William Harrington wrote:
>
> On Nov 17, 2013, at 12:12 PM, Martin Ward wrote:
>
>> |1.
>> The commands
>> useradd nobody && chown -Rv nobody . && su nobody -s /bin/bash -c 
>> "PATH=$PATH make -k check" ; userdel nobody|
>>
>> didn't work for me, probably because i don't have a nobody group
>>
>> but what i did was  to move the commands in sec 10.24 coreutils
>>
>> echo "dummy1:x:1000:" >> /etc/group
>> echo "dummy2:x:1001:dummy" >> /etc/group
>> echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd
>>
>> to 10.21
>>
>> then
>> chown|-Rv dummy
>> and run the tests|
>> ||su dummy -s /bin/bash -c "PATH=$PATH make -k check"
>>
>> then perhaps add a word don't remove these users and groups we will 
>> make use of them in coreutils tests
>
> I rendered the books locally to make sure the changes were consistent 
> across all books and were proper. I may have missed something. I'd 
> appreciate a second look when the current GIT book renders for today 
> in about 10 mins.
>
> Sincerely,
>
> William Harrington
>
>
Looks good to  me although i would have put the test command in a shaded 
box so it stands out a bit more

thanks

martin



More information about the Clfs-dev mailing list