How to return user name in a script even if run by SUDO?

Hal Burgiss hal at burgiss.net
Tue Apr 7 13:45:01 UTC 2009


On Tue, Apr 7, 2009 at 9:37 AM, kapil singh kushwah
<kapil.network at gmail.com> wrote:
> Hello ,
>
> It is working fine. I guess you did it
> after login as a root.

He is doing it from a script though and not command line.

-- 
Hal




More information about the ubuntu-users mailing list