note 74338 added to function.crypt
| From: | Jou at osu1 dot php dot net | Date: | Fri, 06 Apr 2007 08:52:28 +0000 |
| Subject: | note 74338 added to function.crypt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125139@lists.php.net to get a copy of this message | ||
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");
----
Server IP: 62.237.7.3
Probable Submitter: 88.193.22.76
----
Manual Page -- http://www.php.net/manual/en/function.crypt.php
Edit -- https://master.php.net/note/edit/74338
Del: integrated -- https://master.php.net/note/delete/74338/integrated
Del: useless -- https://master.php.net/note/delete/74338/useless
Del: bad code -- https://master.php.net/note/delete/74338/bad+code
Del: spam -- https://master.php.net/note/delete/74338/spam
Del: non-english -- https://master.php.net/note/delete/74338/non-english
Del: in docs -- https://master.php.net/note/delete/74338/in+docs
Del: other reasons-- https://master.php.net/note/delete/74338
Reject -- https://master.php.net/note/reject/74338
Search -- https://master.php.net/manage/user-notes.php