Zach Zach - 2 months ago 19
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

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