Project

General

Profile

Actions

Bug #1033

closed

wrong $_ENV['USER'] after setuid

Added by moo about 18 years ago. Updated over 16 years ago.

Status:
Invalid
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

http://forum.lighttpd.net/topic/5137

i'm not sure if it is expected to work, but woouldn't it nice to set USER env var after we setuid/gid? :)

Actions #1

Updated by Anonymous about 18 years ago

it's not expected behaviour to depend $USER being anything reliable in webserver at least for me as being system administrator :) I suggest removing USER from documentation and perhaps add note/reference about it in documentation.

-- Elan Ruusamäe <glen

Actions #2

Updated by darix about 18 years ago

i just tested this here ... neither apache+mod_php nor apache+mod_fcgid+php-fastcgi have this user environment variable set. i would not rely on the value of this variable at all. i know e.g. from apache that the HOME variable is inherited as is. so you get the $HOME==/root there e.g.

i would classify the bug as invalid.

jan?

Actions #3

Updated by stbuehler almost 17 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid
Actions #4

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom