Skip to content
Discussion options

You must be logged in to vote

I fixed this by myself, for reference:

config/config.json

create new bcrypt hashed password and encode it with base64:

htpasswd -B -C 10 -b -c /tmp/bcrypt_hash dan YOURNEWPASSWORD && cat /tmp/bcrypt_hash | cut -d':' -f2 | base64

Shut down backrest, edit config.json:

  "auth": {
    "users": [
      {
        "name": "dan",
        "passwordBcrypt": "YOUR-B64-ENCODED-HASH"
      }
    ]
  },

restart backrest.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by m8-t
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants