HADOOP-6647 .  This doesn't appear to have ever been committed to the 1.x branch.
HADOOP-2173 (internal): If os.name == SunOS, then use id from /usr/xpg4/bin.