-- etc/profile: 11 12 if [ `/usr/bin/whoami` = 'root' ] 13 then should be 11 12 if [ $UID = 0 ] 13 then or maybe even $EUID = 0 but i think (since its profile) the first... Reproducible: Always Steps to Reproduce: 1.change root to something else 2.login 3.echo $PATH since imho one of the first things you do to up your security is change the name of 'root' its pretty severe, well, unhandy at least :)
this is already fixed in cvs ;) if [ "$EUID" = 0 ] || [ "`/bin/whoami`" = 'root' ]; then