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

Arch Willingham arch at tuparks.com
Wed Apr 8 00:11:10 UTC 2009


Yes....you are right!

-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com [mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Hal Burgiss
Sent: Tuesday, April 07, 2009 9:45 AM
To: Ubuntu user technical support, not for general discussions
Subject: Re: How to return user name in a script even if run by SUDO?

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

-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list