Re: [PHP] grab the complete commandline used ...



2008/8/29 Jochem Maas <jochem@xxxxxxxxxxxxx>:

in what sense won't it work? the complete line is in the output of ps
somewhere
albeit after wildcard/shell expansion.

With the pipe? I'd really like to see an example, beacuse I couldn't
coax it out of ps, and it might be handy someday.

if life were that simple. it's user X running the php script from the
commandline ... I wanna know exactly what he is doing (which is not
necessarily the same as what he should be doing). I only really control
the php script in question not the context it is run in.

You should have said... you are the admin of the machine, right? Patch
bash to log user input. Google variations on bash, patch and syslog.

--

http://www.otton.org/
.



Relevant Pages

  • [patch 12/39] ext2/xip: refuse to change xip flag during remount with busy inodes
    ... commit 0e4a9b59282914fe057ab17027f55123964bc2e2 upstream. ... mount ext2 -o remount stopped working properly when remounting from ... bash which is running rc.sysinit resides on subject filesystem). ... This patch refuses to change the xip flag during remount in case some ...
    (Linux-Kernel)
  • [patch 10/36] ext2/xip: refuse to change xip flag during remount with busy inodes
    ... commit 0e4a9b59282914fe057ab17027f55123964bc2e2 upstream. ... mount ext2 -o remount stopped working properly when remounting from ... bash which is running rc.sysinit resides on subject filesystem). ... This patch refuses to change the xip flag during remount in case some ...
    (Linux-Kernel)
  • Re: running get_user_pages() from kernel thread
    ... I too decided we needn't do more than avoid the issue in grab_swap_token. ... though I've no idea which - does RHEL include a patch like this perhaps?). ... Now beacuse that exit_mmwill set tsk->mm = NULL before the .release will get called, we will trigger this path even without the kernel thread context. ...
    (Linux-Kernel)
  • Re: GNV V2.1-2, DCL escape
    ... EAGLE> bash ... installing the VMS83A_UPDATE V8.0 patch. ... I had to restore my system ...
    (comp.os.vms)
  • Re: GNV V2.1-2, DCL escape
    ... EAGLE> bash ... installing the VMS83A_UPDATE V8.0 patch. ... In order for GNV bash to function properly, ... older version of Python for VMS and replaced it with a ...
    (comp.os.vms)