An updated coreutils package that fixes a bug is now available for Red Hat Enterprise Linux 5.
The coreutils package contains core GNU utilities. It is a combination of the old GNU fileutils, sh-utils, and textutils packages.
This update fixes the following bug:
* The "su" utility, which switches the user, does not return exit code of the child process command, if the child process is terminated by a signal. Returned exit code 0 - which means exit success - could be confusing for scripts. With this updated package, correct exit code is returned, thus resolving the issue. (BZ#672863
All users of coreutils should upgrade to this updated package, which resolves this issue.