Skip to content

Reset a User's Password

A user has lost access to their account. Before acting, identify which of the three passwords is involved (they are independent), and the alternative chosen when the account was created.

PasswordUsed forWhere to reset it
Identity (Kanidm)Signing in to services (SSO)Kanidm link
Vault (Vaultwarden)Unlocking the password managerEmergency access
Session (NixOS)Logging in on a workstationjust passwd
  1. Create a reset link :

    Fenêtre de terminal
    just invite <login> # non-technician: link valid for 1 hour
    just invite <login> advanced # technician: link valid for 24 hours
  2. Depending on the user :

    • Non-technician: open the link yourself, redefine the password and TOTP, update the item in their collection.
    • Technician: send them the welcome sheet (link and QR code).

The master password encrypts the vault: no server knows it.

SituationRemedy
Forgotten password, emergency access enabledTakeover by the trusted contact
Forgotten password, otherwiseDelete User in /admin, then a new invitation
Lost 2FARemove all 2FA in /admin

The /admin panel only responds from the LAN and the tailnet.

The login password on a machine is managed in the secrets, not in Kanidm. just invite <login> offers to redefine it, or directly just passwd <login>.

The user’s GNOME keyring then starts empty again at their next session.