Run as current user on OS X?

(imported topic written by d.limanov)

I apologize in advance if this is trivial, but I can’t seem to find the ability to run things interactively under the context of currently logged on user. Kind of like ‘runascurrentuser’ utility in Windows version of TEM.

Thanks much!

(imported comment written by liuhoting)

Looks like Lee Wei already covered this one: (use su)

https://www.ibm.com/developerworks/community/forums/html/topic?id=1aed0c12-33d3-4c87-bfaf-d1c54a061c93&ps=25