Say, on a Solaris server, user1 logs in, switches to someother user, say sruser, using su - and then starts a process of id X. And then another user user2 logs in, switches to sruser the same way and starts a process of id Y. (Multiple users can log in and swithch to sruser simultaneously.)In the above scenario, is there any way we can trace the processes of ids X and Y to the actual users user1 and user2?How can we trace a process to the original user?
How to trace a process to original user?
process;users;solaris;su