Re: changing unix password in php?
| From: | Jon Farmer | Date: | Wed, 23 Jan 2002 16:39:51 +0000 |
| Subject: | Re: changing unix password in php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81707@lists.php.net to get a copy of this message | ||
> Along this line, I have attempted to run a command as root from the server
> by using su. It never changed user. I tried using passthru to see if I
> could get the password prompt coming back with no luck. If I run passthru
> date, I get the time and date back. If I run passthru root, I get nothing
> back. I don't want to run apache as root and I would need to in order to
> access secured documents like passwd or some of the config files in etc.
> Can someone help with this?
Can you post code?
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969
PGP Key available, send email with subject: Send PGP Key