Alternatively, you could change this back to the version used in FC3 which
invoked the 'id' command to determine the effective UID of the current
process. Note that the backtick method of invoking commands from shell scripts
has been deprecated for quite some time in favor of $(cmd). For example,
instead of `id -u`, one should use $(id -u) in bourne/korn/bourneagain scripts.

If someone (as I usually do) uses usermod(1m) to change the root shell from bash
to ksh, then the PATH will not include the sbin directories on root logins.
You cannot correctly rely on EUID in this case.