where is "user apache" shell log?
When someone use PHP to use shell, the commands are done by user APACHE. How can I find what this APACHE user did? any log? any bash history file? where?
The use apache is given by default a false shell. Meaning no shell.
If you cat /etc/passwd|grep 'apache' you will see the last part of the line, where shell are assigned point's to /bin/false.
Hope that gets you in the right direction.....
Yes mychl, you are right. But the problem is this...
When someone use a PHP code which run shell commands, then this command is executed by user APACHE. I want to see, which commands this APACHE user executed? This is a security problem for me...
PS: I've set php_safe_mode on. Bu I need to know what they did on my machine before I set php_safe_mode option.
|All times are GMT -5. The time now is 03:18 PM.|