On Wed, 21 Dec 2005 11:34:22 -0800, Jim Gifford wrote:

> I posted a solution in lfs-support. Here is it
> 
> In my testing with Cross-LFS, I have found that this works
> 
> echo "dummy1:x:1000:" >> /etc/group
> echo "dummy:x:1000:1000:::/bin/bash" >> /etc/passwd
> cd tests
> su dummy -c "sh run-all"
> sed -i '/dummy/d' /etc/passwd /etc/group
> rm /tmp/*

That won't work for LFS. `su' is provided by Shadow which comes after
Bash. Note also that installation of `su' from Coreutils is suppressed.

Regards
Greg
-- 
http://www.diy-linux.org/


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to