• If you need help or want to discuss things, you now can also join us on our Discord Server!

Wie kann man das Passwort zurücksetzen?

R3v07v3R

Active Member
https://sinusbot.github.io/docs/faq/installation/#what-is-the-default-username-and-password

The bot will initially have a randomly generated password which is displayed on the first run in the console. The sinusbot installer will also print the password at the end of the installation.

Unexperienced users should use the sinusbot-installer script to reset the password.

More experienced users can temporarily override the password and change it by folling these steps:

  1. Stop the sinusbot (ie. Systemctl stop sinusbot)
  2. Start the sinusbot with the --override-password = newpassword flag as the sinusbot user:
    • login as the sinusbot user: su sinusbot
    • go to the sinusbot directory: cd / opt / sinusbot
    • start the sinusbot: ./sinusbot --override-password = newpassword ( don't do this as root!)
  3. Login as admin with the specified password (ie. Newpassword) and change your password to a new one.
  4. Stop the sinusbot: Ctrl + C
  5. Afterwards restart the sinusbot without the --override-password parameter. (ie. systemctl start sinusbot)
If the sinusbot doesn't start afterwards and you get something like

Job for sinusbot.service failed because the control process exited with error code.
See "systemctl status sinusbot.service" and "journalctl -xe" for details.

then you did something wrong, such as: starting the bot as root or not stopping the bot, ...

Look at the sinusbot log (as it says) with journalctl -xe and search for a solution on this FAQ page or in the forum.
 
Top