note 74338 deleted from function.crypt by joey
| From: | joey@php.net | Date: | Wed, 01 Aug 2012 01:26:42 +0000 |
| Subject: | note 74338 deleted from function.crypt by joey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-189537@lists.php.net to get a copy of this message | ||
Note Submitter: Jou
----
I found out that you can use php:s crypt function to change the user/root password in Linux
distributions (at least in Slackware).
You just have to change the encrypted password for the user in the /etc/shadow file with the output
from crypt("newpassword");