php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #10065 User Impersonation
Submitted: 2001-03-29 16:33 UTC Modified: 2001-03-29 16:48 UTC
From: wizaerd at wizaerd dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.4pl1 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wizaerd at wizaerd dot com
New email:
PHP Version: OS:

 

 [2001-03-29 16:33 UTC] wizaerd at wizaerd dot com
It's be nice to be able to run a PHP script as a specific user, perhaps a user specified user.  It would have to authenticate username and password, but then instead of CHMODding our directories and files for file uploads, an upload script could behave as the owner of those directories...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-29 16:48 UTC] hholzgra@php.net
this is a webserver topic and nothing 
php itself can control as it inherits
the user settings from the webserver 
it runs in or is started from
when run as cgi you have some control
via apaches suexec(?) config options
but unless you run php cgi as root
(which is a very bad idea IMHO) there
is no way to have PHP itself control
the process user settings
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 02:01:29 2024 UTC