who called sudo ?

dave selby dave6502 at googlemail.com
Sat Mar 15 13:07:30 UTC 2008

Hi all,

I am writing an install script that needs to be root, its started with

sudo install.py

It needs to know who was the user that executed 'sudo install.py' ...
any ideas how I get that info from the shell or sudo command ?



Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

More information about the ubuntu-users mailing list