From 88dc66ae4764bc196be0217f32eb9db9384eac55 Mon Sep 17 00:00:00 2001 From: sharkymark Date: Mon, 5 Jun 2023 08:37:12 -0500 Subject: [PATCH] chore(docs): Add clarifying language that resetting a user password must run on the coderd host (#7845) --- docs/admin/users.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/admin/users.md b/docs/admin/users.md index 6363d64aa2..39e7b994f0 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 +```