On Mon, 20 Jul 2020 at 11:06, Xi Ruoyao via lfs-dev <lfs-dev@lists.linuxfromscratch.org> wrote: > > On 2020-07-19 14:07 -0500, Timothy Russo via lfs-dev wrote: > > ... > > 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 > 8. >
What he said, but with the extra info that building su in Util-Linux requires some PAM libraries, hence the one from Shadow being used in LFS, where there is no PAM. -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page