Jim Meyering wrote: ... > I tried to use the su from coreutils (with or without your patch) > and found that it does not work when it attempts to authenticate. > E.g., it cannot su to any user on this Fedora 17 system.
I've just realized my (silly!) error. For su to do its job, it must be set-UID root, and I was running src/su, a non-set-UID file, in place.