Can't switch to a specific system account with su
The reason su jenkins
appears to fail is because the user's shell is /bin/false
. You can specify a shell with su
that will be used instead of the default login shell:
su -s /bin/bash jenkins
The reason su jenkins
appears to fail is because the user's shell is /bin/false
. You can specify a shell with su
that will be used instead of the default login shell:
su -s /bin/bash jenkins