I have a redhat linux server running jenkins. I setup jenkins as per the instructions mentioned here https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions The problem is that I need to switch to the jenkins user in order to solve an ssh connection issue, but I cannot.
I try
su - jenkins
however after I enter that, the terminal remains[root@redhat ~]#
and a whoami
reveals that I am still root
I have looked at the files /etc/passwd etc/shadow
and see that jenkins is a user, but I don't have enough experience to tell what I have done wrong in setting up this jenkins user.
any ideas would be helpful, or places to look for clues?