Re: who called sudo ?
- From: Karl Larsen <k5di@xxxxxxxxxx>
- Date: Sat, 15 Mar 2008 08:29:07 -0600
dave selby wrote:
Hi all,If it is an install script there is no user identified so sudo can't
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 ?
Dave
work. You need to figure out what your going to use this for and make
sure it can be used.
Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: who called sudo ?
- From: Derek Broughton
- Re: who called sudo ?
- References:
- who called sudo ?
- From: dave selby
- who called sudo ?
- Prev by Date: Re: UN-organaised System Preferences / Administration drawers
- Next by Date: Re: Evolution's crazy habit with moving an e-mail to a folder !?
- Previous by thread: Re: who called sudo ?
- Next by thread: Re: who called sudo ?
- Index(es):
Relevant Pages
|