Skip to content

Bug: no ability to reset root account's password #1024

Closed

Description

@ammario

Add coder reset-root-password command to get a new root user password when you forget the original one. Since the root account is rarely used, it's likely that this password is forgotten. The command would use the coder server's configuration file so it has DB access.

Activity

  1. ammario commented on Apr 15, 2022

    @ammario
    MemberAuthor

    I'm calling this a bug because the workaround of editing the DB is unreasonable.

  2. added this to the V2 Beta milestone on Apr 26, 2022
  3. misskniss commented on Apr 26, 2022

    @misskniss
  4. changed the title [-]Feat: add ability to reset root account's password[/-] [+]Bug: no ability to reset root account's password[/+] on Apr 26, 2022
  5. greyscaled commented on Apr 28, 2022

    @greyscaled
    Contributor

    @ammario is this to live in the CLI? If so, who can run this command? Is the idea to have it available to anyone right now while we're in beta, and then fix the reset flow for launch?

  6. 8 remaining items

  7. modified the milestones: Community MVP, V2 Beta on May 4, 2022
  8. misskniss commented on May 5, 2022

    @misskniss

    I think this is a duplicate for a ticker we already have to build out this functionality. #733 Thought 733 does not directly address root account.

  9. ammario commented on May 6, 2022

    @ammario
    MemberAuthor

    I think this is a duplicate for a ticker we already have to build out this functionality. #733 Thought 733 does not directly address root account.

    #733 is insufficient since that feature requires that you know the prior password to log in.

  10. dwahler commented on May 10, 2022

    @dwahler
    Contributor

    Since the initial user might be called something other than root and there can be multiple users with the admin role, I think we might as well just change the syntax to something like coder reset-password <username>.

  11. self-assigned this
    on May 10, 2022
  12. ammario commented on May 10, 2022

    @ammario
    MemberAuthor

    I like that @dwahler. There's no reason to restrict the command to root as the implementation is basically the same.

  13. misskniss commented on May 11, 2022

    @misskniss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions