hacking whoami to return a fake username
===

I've created a new `whoami` command which requires a fake username and have put it in the PATH by adding it to ~/.profile . It is created in a way that `whoami` is called before actual the actual whoami from Linux. 

The main reason to do this is because I am remote accessing a Hadoop cluster and want the copied files to be under the fake username. 

This works fine when I call `whoami` in the shell and even calling $PATH shows the path to my created whoami before everything else. But for some reason, when Hadoop is called, it doesn't pick the created `whoami'.  

Can someone help me with how to fix this?

thanks