Re: SSH change password!
| From: | Michael Sims | Date: | Sat, 25 Jan 2003 01:28:38 +0000 |
| Subject: | Re: SSH change password! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133077@lists.php.net to get a copy of this message | ||
On Fri, 24 Jan 2003 11:48:50 -0600, you wrote:
>What I need is to change users password on the server, I want to write
>that script and it needs to be safe. So I don't know what should I use.
>I think I will need to check username and password, then log in through
>website with it and then use passwd command on that user to change the
>password. Or maybe I am wrong, I never done something like that.
This is exactly the sort of thing that Poppasswd was created for:
http://echelon.pl/pubs/poppassd.html
I have to do something similar soon, so I plan to use this program to
do it. I haven't as yet downloaded though, so I don't know how well
it works. But the principle seems to be sound.