On 17/11/13 20:00, William Harrington wrote:
On Nov 17, 2013, at 12:12 PM, Martin Ward wrote:
useradd nobody && chown -Rv nobody . && su nobody -s /bin/bash -c
"PATH=$PATH make -k check" ; userdel nobody|
Odd with shadow useradd, it's supposed to create a group of the same
name as the user by default, at least it does when not giving a
groupid. Unless I'm missing something.
I think it is best to do it the way you did it and create the dummy
user and groups at final-system coreutils to util-linux and keep them
till coreutils and then rm them after the tests.
Will look at this tomorrow when I have more time.
Thanks for the input.
Sincerely,
William Harrington
Hi William
hmm, you might be right there, as i think i already had a user called
nobody, so it didn't create the group
however i like my solution better, seems a bit more elegant
martin
_______________________________________________
Clfs-dev mailing list
Clfs-dev@lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org