Bug #1033
closedwrong $_ENV['USER'] after setuid
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? :)
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
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?
Updated by stbuehler almost 17 years ago
- Status changed from New to Fixed
- Resolution set to invalid
Also available in: Atom