I have installed Jenkins and I have jenkins as a user in my /etc/passwd:
jenkins:x:995:993:Jenkins Continuous Integration Server:/var/lib/jenkins:/bin/bash nginx:x:994:992:Nginx web server:/var/lib/nginx:/sbin/nologin setroubleshoot:x:993:990::/var/lib/setroubleshoot:/sbin/nologin
I have tried to su - jenkins while root and I get this response:
[root@li1078-244 ~]# su - jenkins Last login: Sun Nov 6 02:50:18 UTC 2016 on pts/0 su: failed to execute /bin/bash : No such file or directory
I want to su - jenkins into bash so I can continue some configurations. I thought I would login as jenkins, but I can't, I get this:
ldco2016@DCortes-MacBook-Pro-3 ~ $ ssh jenkins@localhost [ruby-2.3.1] jenkins@localhost's password: Permission denied, please try again.