I can't switch to user jenkins on an OpenVZ container. There is still a jenkins process running, which was started by this user.
I tried # su jenkins; it does not switch to the jenkins user. There is no error message.
/etc/groups shows there is a jenkins group: jenkins:x:498:. I tried id -g jenkins and got this: jenkins(uid=497). There is a /etc/passwd entry:
jenkins:x:497:498:Jenkins Continuous Build server:/var/lib/jenkins:/bin/false
Nothing happened to this container. I revisited it some time after it was stopped, I started it and found it in this situation.
So there is a jenkins user. Why can't I switch to it?
/etc/passwdshow an entry for user jenkins? Did anything happen that could have caused this user account to be deleted? Do you get any error messages when you run thesucommand that you posted? – dhag Mar 31 '15 at 00:59jenkins:x:497:498:Jenkins Continuous Build server:/var/lib/jenkins:/bin/falseThere is no error if I try to switch using su jenkins, Nothing happened to this container I revisited after some time it was stooped i started it and found in this stituation – DevOps_101 Mar 31 '15 at 01:07