[Bug] CLI should use Stable IDs instead of usernames #857

Closed
opened 2025-12-29 02:24:56 +01:00 by adam · 0 comments
Owner

Originally created by @kradalby on GitHub (Nov 18, 2024).

Currently a series of CLI commands are taking usernames as arguments for doing certain operations which is no longer stable as usernames will not be unique.

After https://github.com/juanfont/headscale/pull/2170, usernames that cannot be resolved to a single user will fail.

This works for now, but we need to make it possible to execute all of the commands for the specific ID being addressed.

Originally created by @kradalby on GitHub (Nov 18, 2024). Currently a series of CLI commands are taking usernames as arguments for doing certain operations which is no longer stable as usernames will not be unique. After https://github.com/juanfont/headscale/pull/2170, usernames that cannot be resolved to a single user will fail. This works for now, but we need to make it possible to execute all of the commands for the specific ID being addressed.
adam added the bug label 2025-12-29 02:24:56 +01:00
adam closed this issue 2025-12-29 02:24:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#857