A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

July 30, 2011

not whoami, but whowasi?

Forums: 

Once I've 'sudo su' to a different user, is it possible to find out who I was?

Scenario:
We have 3 users who switch to a build-user to do the builds. I want the build process to be able to figure out who really started the build.

Thanks in advance.

Click Here!