Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8548609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:32:09+00:00 2026-06-11T13:32:09+00:00

the problem is that I used ps aux | grep apache which says the

  • 0

the problem is that I used ps aux | grep apache which says the apache is running as nobody.
But then I used exec("whoami"), it gives a different result: root or gt. It depends on the owner of the script. If the script is owned by root, whoami is root; if owned by gt, then whoami is gt.
I also checked httpd.conf, the apache user is nobody, group is nobody.

So could anybody explain this thing?

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T13:32:10+00:00Added an answer on June 11, 2026 at 1:32 pm

    you are using either cgi or fast-cgi ,

    to be “nobody” you need to use mod_php (php as an apache module)

    http://php.net/manual/en/security.apache.php

    When PHP is used as an Apache module it inherits Apache’s user
    permissions (typically those of the “nobody” user).

    http://www.php.net/manual/en/security.cgi-bin.attacks.php

    Using PHP as a CGI binary is an option for setups that for some reason
    do not wish to integrate PHP as a module into server software (like
    Apache), or will use PHP with different kinds of CGI wrappers to
    create safe chroot and setuid environments for scripts.

    And there is also SuPHP https://serverfault.com/questions/7589/how-do-you-run-a-php-script-as-the-owner

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My problem is that I'm trying to count which tag has been used most
The problem: we have one application that has a portion which is used by
RESOLVED! The problem is that I used this.findViewById, but I will use dialog.findViewById. TNX
I'm having a problem with some code that used to work in PHP 4.X
A recent question contains a problem that I many times used to think about
I have a problem regarding the ksoap2. My problem is that the project used
I tweaked this script that I used from JqueryUi and I have a problem.
I've used this useful JQuery function that serializes nested elements. the problem is how
EDIT: The problem is that I used .select() instead of .find(); I have this
Update My problem was that I used event.preventDefault() instead of return false to hinder

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.