Skip to content

Reset a password

For the person who set up Stuga.

For the person who set up Stuga. A reset link lets someone choose a new password. To change your own password while signed in, use Settings → Profile → Password.

  1. Open Settings → This node → Access, then Account recovery.
  2. Under Account, select the person.
  3. Choose Create link.
  4. Copy the link and send it to them.

The link is shown once, works once and expires after 24 hours. Using it signs that account out everywhere else. It also sets a first password for someone who has only used your organization’s sign-in service.

If nobody with access to This node can sign in, use the computer running Stuga.

  1. Open Terminal, in Applications → Utilities.

  2. Follow the Mac command setup to add the stuga-node command to this Terminal window.

  3. Run this, replacing liv with the Stuga username:

    Terminal window
    stuga-node reset-password liv

    If asked, enter the password you use to approve changes on your Mac. Nothing appears as you type.

  4. Open the link Terminal prints and set a new password.

In the folder where you installed Stuga, run this with the Stuga username in place of liv:

Terminal window
./stuga reset-password liv

Stuga must be running. Open the link it prints and set a new password. If you lose the link, run the command again.

More detail for people who run servers: Password recovery on GitHub.