Skip to content

docs: clarify that resetting a user password must run on the coderd host #7845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/admin/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,13 @@ You can also reset a password via the CLI:
# run `coder reset-password <username> --help` for usage instructions
coder reset-password <username>
```

> 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 <username>
```