I am running into an issue with Redhat 6.7. We installed a piece of software that created a user admin with uid of 0. This is a turnkey install of the software so I am really unable to change the uid.The problem is now if I do a sudo -i from my account, it randomly takes me to either root or this new user. Sometimes it says root@hostname# and sometimes admin@hostname. The problem it creates is when I try to run certain commands it complains that I have to be root to run the command and I am unable to execute those commands from admin@hostname and I can't get to root@hostname consistently.Is there a way to configure the system such that sudo -i goes to root user only?
User with UID 0 problem
sudo;uid