Index


Overview

During the installation process for your Statseeker server you were prompted to enter a single password that was then applied to the statseeker, admin, and root user accounts. If you have lost access to your Statseeker server and need to reset any of these passwords, the following options are available:

  • Via the Administration Tool - requires the admin user password to access
  • Via the ssadmin utility - requires the root user password to access, as well as remote/local access to the Statseeker server
  • Via the command line interface (CLI) - requires local access the server

This document covers the procedure to be followed in the event that both the root and admin passwords are lost and need to be reset. This can be achieved via the CLI, so you will need local access to the server.

[top]


Reset Root Password - when there is a current Root Session

If there is an open session currently logged in as the root user, then you can update the password with:

# passwd root

You will be prompted to enter a new password, and then confirm the change by re-entering the new password. Then restart the server with:

#shutdown -r now

Once the server has restarted, log into the server and use the ssadmin utility to update the admin user account.

# ssadmin

  • Select 7. Passwords > 3. Set admin password
  • Enter the password and then confirm the change by re-entering the new password

Alternatively, you can:

  • Update the admin Statseeker account password via ssadmin
    # ssadmin
    • Select 7. Passwords > 3. Set admin password
    • Enter the password and then confirm the change by re-entering the new password
  • Log in to the Statseeker web UI using the admin account
  • Update the root user account via the Administration Tool
    • Select Administration Tool > Statseeker Administration > OS Configuration, and click Edit
    • Click the Root Password Change button
    • Enter the new password and click OK

[top]


Reset Root Password - when there is no current Root Session

When there is no active session and you have neither the root nor admin password, you can reset the root password by:

  • Power cycling the server
  • At the boot menu select Option 2 Boot FreeBSD in single user mode
  • When prompted to Enter full pathname of shell and hit Enter. Not entering a path will point to /bin/sh.
  • At the prompt run:
# fsck -y
	mount -a
	passwd root

You will be prompted to enter a new password, and then confirm the change by re-entering the new password. Then restart the server with:

#shutdown -r now

Once the server has restarted, log into the server and use the ssadmin utility to update the admin user account.

# ssadmin

  • Select 7. Passwords > 3. Set admin password
  • Enter the password and then confirm the change by re-entering the new password

The root password has been reset.

Note: by default, the root and statseeker account passwords are the same. You are here because you needed to reset the root password, so, if you also need to reset the statseeker account password, then do this now as you are unable to ssh into the server using the root account.

[top]