Skip to content
Shellbay

Users & Access · about 1 min · 4 steps

Force a password change

Makes an account choose a new password the next time it signs in with its password.

Runs on

  • Debian / Ubuntu: supported
  • RHEL / Fedora: supported
  • Alpine: supported

What it changes on your server

  • Marks the account's password as expired; nothing else changes.
  • Alpine: installs the shadow package for chage.

What Shellbay asks you

  1. Which account?

    Useful after you've told someone a temporary password. Accounts that sign in only with SSH keys have no password, so they're refused.

    Account
    A new Linux account name

    Example: alice

Steps

  1. Check the account has a password
  2. Make sure the account tools are installed
  3. Expire the password
  4. Check the password is expired

Shellbay checks the server before the first step, and stops at the first step that fails.

When it's done

  • ‹account› will be asked for a new password the next time it signs in with its password.