Question
· Feb 3, 2022

How to determine the UNIX user/group that InterSystems IRIS is running as?

(I wasn't able to find this in the docs or the Community, so feel free to point me to a reference that I missed)

How can I determine the effective User and Group that will be used when an InterSystems IRIS process is doing file I/O on the file system for UNIX?  Bonus points if you can tell me how to do it from within InterSystems IRIS as well as from the host OS.

Thanks!

Discussion (11)5
Log in or sign up to continue

From the OS side in AIX, I can see it in parameters.isc (example from a QA env I'm playing with)

security_settings.iris_user: irisusr
security_settings.iris_group: irisusr
security_settings.manager_user: irisusr
security_settings.manager_group: irisusr

I do not recall how to see it in IRIS itself (or if it's even possible) but I remember wanting to figure out how to change the values after installation (due to someone goofing up an entry on a dev environment) and without a lot of effort, it is pretty difficult.

Thank you @Craig.Regester  for the response.  Looking up that file in the docs (https://docs.intersystems.com/iris20201/csp/docbook/DocBook.UI.Page.cls?...
) it tells me that "For security reasons, the parameters.isc file is accessible only by the root user."  I am pretty sure there is a way to tell what it is currently running as without needing that level of access.  But it is good to know about this in the cases where root access is an option

You could try:
ps -ax -o uname,cmd | grep "irisdb WD" | grep -v "grep"

-ax will get all the running processes including ones that aren't running on a terminal, retrieve the username, and command that started the process. We then use grep to filter out the exact process we need. 

Thanks @Jean Millette and @Timothy Leavitt for the help with this!