hi,
In my rhel5 machine, when i execute just command "whoami" as a root in web server it showing that output is "apache". why?
eg:
#lynx
www.example.com/cgi-bin/test.sh
vi test.sh
#! /bin/bash
whoami
set
env
(everything of apache)
but the user and group of test.sh is root.
so when i use the find command
#find / -type f -group apache
only file in /usr/sbin/suexec
why like this?. Actually i want the o/p as root .
thanks in advance.