How can I tell what user Jenkins is running as?

bitnami, jenkins, linux

Solution

I would use `ps` to get the uid of the process, and grep for that in /etc/passwd

Problem

I have a bitnami Jenkins VM, how do I tell what user Jenkins is running as? I suspect it is Tomcat.

Original source