From Newsgroup: rocksolid.nodes.announce
Retro Guy wrote:
I've created a new script for rslight in $config_dir/scripts/account_manager.php
$php ./account_manager.php
-help: This help page
-version: Display version
-create: Create user account '-create username password email'
-newpass: Change user password '-newpass username newpassword'
-delete: Delete user account '-delete username'
Be careful with this. You will not be asked to confirm
Account files will be placed in a dir named 'deleted'
This should make it easier for an admin to manage accounts. I know I
find it a nuisance to need to change a user's password, create an
account manually, etc., so this script should be quite helpful.
Also, for this script, and maintenance.php, it is no longer necessary to switch to the $webdir/spoolnews dir. This is handled automatically. You
still need to run as your web server user so files are created with
correct permissions.
I've added a few more tasks that can be handled with
account_manager.php:
$ php ./account_manager.php
-help: This help page
-version: Display version
-create: Create user account '-create username password email'
-newpass: Change user password '-newpass username newpassword'
-newemail: Change user email '-newemail username emailaddress'
Email address will remain listed as 'verified'
Be sure to verify the address is correct
-banuser: Disable ability for user to log in '-banuser username'
This doesn't block the site, just posting and other user
features
-delete: Delete user account '-delete username'
Be careful with this. You will not be asked to confirm
Account files will be placed in a dir named 'deleted'
--
Retro Guy
--- Synchronet 3.21a-Linux NewsLink 1.2