On Wed, Mar 01, 2006 at 10:27:12AM +0000, Richard A Downing wrote:
> I just built the cross-lfs book, and noticed that the version of su
> installed comes from shadow.  This version doesn't support -c, which IMO
> makes it useless.  The version built in coreutils is the one I'm used to.

I hit that very problem yesterday and your email prompted me to check it
out. If you have followed the coreutils instructions for any book
starting with 6.0 then you would have been suppressing the coreutils su
and using the shadow one. Shadow-4.0.12's su accepts -c. I have no
conclusions at this point as unfortunately I did not log all files
installed in my fresh trunk build. Here's some ideas:

1) Perhaps the coreutils patch wasn't applied by either of us.
2) Perhaps the patch no longer suppresses su and shadow doesn't install
   su because it sees it already exists.
3) Perhaps shadow is no longer supporting that switch.
4) Perhaps shadow is miscompiling.

Some of those are more far-fetched than the others, but I doubt I will
have time to check today. I am currently updating my scripts, though,
and if I get the chance will start a fully logged build late tonight.

-- 
Archaic

Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs

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

Reply via email to