I'm a web hoster and i would like offer ZenPhoto to my hosted with my click-install system.
I just need to know how i could generate a new password for the admin user.
I have tried this but it's don't work (i'm a administrator system, not a web developper) :
$userobj = $_zp_authority->newAdministrator('admin');
$msg = $userobj->setPass('the-password');
and i run in my shell this : cat change-password.php | php
Could you tell me how i could do it, without lets my hosted create a new user (remove admin user and lets the setup.php create a new one). I search a rapid installation for them.
Thanks so much.