On Wed, Apr 22, 2009 at 10:01 AM, Greg Donald <[email protected]> wrote:
>
> On Wed, Apr 22, 2009 at 9:44 AM, Andrew Farnsworth <[email protected]> wrote:
>> Morning everyone,
>> How does one determine the actual user that issued a command to stop an
>> application?  I believe that the stop command is being run via sudo as you
>> must be a specific user to issue them.  I need to know who it is that is
>> actually running the command.
>
> Patch your bash.
>
> http://www.juzzy.com/index.php/files/bash/14-bash-bofh-3-2-39
>
>
If you have under-educated users,


  grep 'whatever' /home/*/.bashrc


You'd be amazed how well this works for things like that.

It's a hack, but it works.


Logging with timestamps is pretty cool too. Patches are available, and
I think you can up the logging on sudo also.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to