From f60889af6d961d75d8289de7184161ab37706bec Mon Sep 17 00:00:00 2001 From: Mark Milligan Date: Mon, 5 Jun 2023 07:46:49 -0500 Subject: [PATCH] chore(docs): Add clarifying language that resetting a user password must run on the coderd host --- docs/admin/users.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/admin/users.md b/docs/admin/users.md index 6363d64aa2b53..39e7b994f044d 100644 --- a/docs/admin/users.md +++ b/docs/admin/users.md @@ -119,3 +119,13 @@ You can also reset a password via the CLI: # run `coder reset-password --help` for usage instructions coder reset-password ``` + +> Resetting a user's password, e.g., the initial `owner` role-based user, only works when run on the host running the Coder control plane. + +### Resetting a password on Kubernetes + +```sh +kubectl exec -it deployment/coder /bin/bash -n coder + +coder reset-password +```