Re: changing unix password in php?
| From: | Larry Brown | Date: | Wed, 23 Jan 2002 16:35:27 +0000 |
| Subject: | Re: changing unix password in php? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81706@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?
Larry S. Brown
President/CEO
Dimension Networks, Inc.
Member ICCA
(727) 723-8388