I have a redhat linux and I am trying to find the logged in username via python script
Ex: I always login with Bret login ID and then sudo to root
Now - Using python script - I want to find the real login name not the one after sudo.
so, Bret should be the answer of the script.
Last edited by Yoriz
on Fri Dec 27, 2013 7:53 pm, edited 1 time in total.
Reason: First post lock