Skip to Content
HostWall
CLI

admin reset

hostwall admin reset: give the dashboard admin a new password and turn two-factor sign-in off.

Give the dashboard user admin a new random password, turn its two-factor sign-in off and sign everyone out. Use it when you forget your password or lose your 2FA device. Sites, exceptions and events are kept.

FlagMeaning
--yesDon't ask for confirmation
sudo hostwall admin reset
This resets the admin password, turns 2FA off and signs everyone out. Type 'reset' to continue: reset
✔ Admin access reset (2FA is off; everyone was signed out).

  Username: admin
  Password: H3TQ-8WZK-M2PD-7XRA

You'll choose a new password when you sign in.

The new password is also written to /var/lib/hostwall/initial-admin.txt. Sign in with it, choose your own password, and turn 2FA back on in Settings.

Edit this page on GitHub