Try using ps -aef |grep httpd. The first column will display the user. Also u can check the config file of httpd(httpd.conf the values for the directives User , which is the user which apache is going to run as).
Warm Regards Manoj.Solanki On 7/31/07, Agnello George <[EMAIL PROTECTED]> wrote: > > HI > i tried > #ps -e |grep httpd ==== the following is the resulth > > 13936 ? 00:00:00 httpd > 26994 ? 00:00:00 httpd > 26995 ? 00:00:00 httpd > 26996 ? 00:00:00 httpd > 26997 ? 00:00:00 httpd > 26998 ? 00:00:00 httpd > 26999 ? 00:00:00 httpd > > what is the user that apache is running as > > awaitig ur reply > > agnello > > > On 7/30/07, Prashant Shah <[EMAIL PROTECTED]<elite.mumbai%40gmail.com>> > > wrote: > > > > > > > > Just do a > > > > > > > > $ps | grep apache > > > > > > > > from the shell and see what user the process is running as :) > > > > > > > > > > > > > > > > > > > > > -- > > > > > Warm Regards > > > > > > > > > > Agnello . G .Dsouza > > > > > www.agnellogeorge.blogspot.com > > > > > > > > > > > > > > > > > > > > > -- > > Warm Regards > > > > Agnello . G .Dsouza > > www.agnellogeorge.blogspot.com > > > > -- > Warm Regards > > Agnello . G .Dsouza > www.agnellogeorge.blogspot.com > > [Non-text portions of this message have been removed] > > > [Non-text portions of this message have been removed]
