You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: no ability to reset root account's password #1024
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.
@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?
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>.
Activity
ammario commentedon Apr 15, 2022
I'm calling this a bug because the workaround of editing the DB is unreasonable.
misskniss commentedon Apr 26, 2022
Hey team! Please add your planning poker estimate with ZenHub @vapurrmaid @deansheather
[-]Feat: add ability to reset root account's password[/-][+]Bug: no ability to reset root account's password[/+]greyscaled commentedon Apr 28, 2022
@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?
8 remaining items
misskniss commentedon May 5, 2022
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.
ammario commentedon May 6, 2022
#733 is insufficient since that feature requires that you know the prior password to log in.
dwahler commentedon May 10, 2022
Since the initial user might be called something other than
rootand there can be multiple users with the admin role, I think we might as well just change the syntax to something likecoder reset-password <username>.ammario commentedon May 10, 2022
I like that @dwahler. There's no reason to restrict the command to root as the implementation is basically the same.
misskniss commentedon May 11, 2022
Please add your planning poker estimate with ZenHub @dwahler