How can I tell what user Jenkins is running as?

Zach picture Zach · Jul 18, 2013 · Viewed 15.9k times · Source

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

Answer

Jon Carter picture Jon Carter · Jul 18, 2013

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