Zach Zach - 1 year ago 131
Linux Question

How can I tell what user Jenkins is running as?

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

Answer Source

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