Skip to content

It resets the password for the only local user, but the user is not an admin. #21

@dimitrios-git

Description

@dimitrios-git

I am working on a Portainer deployment where the only local user is not an admin.
I have been using SSO to connect with a user with admin rights, but now OAuth is broken, and I want an admin to fix it.

Running:

docker run --rm -v portainer_data:/data portainer/helper-reset-password

Indeed, the script resets that password and returns the correct username of the single existing user, but the user is not an admin.
Is there a way to force the creation of an admin user?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions