Re: php changing passwd from unixusers?
| From: | Richard Lynch | Date: | Sun, 04 Feb 2001 01:22:31 +0000 |
| Subject: | Re: php changing passwd from unixusers? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38040@lists.php.net to get a copy of this message | ||
> Is it possible using a php -based website to change passwords from
> unixusers?
> Php runs at my system under user: www how can I let it execute: passwd
> and change a password?
I think the passwd shell command requires a real TTY rather than just ol'
PHP.
You could *maybe* do it by having PHP modify the password file directly
rather than through the passwd shell command.
WARNING WARNING WARNING
Having your logins altered by web-visitors is inherently risky. Think
through all the security issues carefully.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm