I'm sorry if it's a often asked question. I only found this old discussion
and I wanted to see if something changed.
I want to be able to authorize teachers to change the passwords of students, enrolled into their courses. In our installation, the majority of students belong only to one course, so in fact there is no way of teachers hijacking student account to get, for example, into the course of some other teacher. We have quite many students (in a magnitude of thousands) and there are regularly cases, where the student claims he has forgotten both passwords - for our site and the e-mail account he has entered into his profile. In the same time, this is departamental project and we do not currently have enough resources to have dedicated administrators who will change passwords.
I'm about to go and write a php script that will manipulate the database directly. I'm aware of structure of the database and the password salting mechanism, but I was looking for a way to save myself some work.