Adding an additional admin
15 December 2017 | 38 views | Tags: Documentation
If you really feel the need, you can add additional administrators to Tuskfish. Just bear in mind that they will have exactly the same powers that you do. What could possibly go wrong?
- Edit the password-recovery.php script that is included in the /trust_path/extras/utilities folder. Supply a password for the new admin, your existing site salt (you will find in /trust_path/configuration/config.php), and supply a unique 63-character user salt (get one from GRC, third box on the page).
- Upload the script to a webserver (preferably one that isn't internet-facing) and run it. A password hash will be displayed on screen. Make a copy of it.
- Open your site's database with phpLiteAdmin (or equivalent).
- Insert a row in the user table with the details for your new admin; namely their email address (which is their login), the password hash you got from the recovery script, and their userSalt. Set the userGroup as 1.
- DELETE the password recovery script, immediately.
That's it. Your new admin should now be able to login with their email address and password. If you are using two-factor (Yubikey) authentication, you can also enter their Yubikey ID (first 12 characters of the key's output) in the yubikeyId field of the user table and they will be able to use that key to login.
Copyright, all rights reserved.