[lfs-dev] su needed in chapter 8 build of gcc but not configured in chapter 7 util-linux

Xi Ruoyao xry111 at mengyan1223.wang
Sun Jul 19 20:04:59 PDT 2020

On 2020-07-19 14:07 -0500, Timothy Russo via lfs-dev wrote:
> I'm rebuilding LFS, using Thomas' multilib patch, but I checked the standard
> publication and it references using su to use the non-privileged account
> tester for testing the gcc build.
> In chapter 7 for Util-linux, the default configure options has --disable-su. 
> I still couldn't get it to work after rebuilding util-linux with su enabled,
> but if I used the full path to su, /bin/su, it worked.  If I did 'whereis su'
> it shows it in /bin, and my path shows /bin as the first option, so not sure
> why that wasn't working. 

Util-linux is irrelevent.  su should be provided by Shadow installed in chapter
Xi Ruoyao <xry111 at mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University

More information about the lfs-dev mailing list