Change Passwords

Modify MySQL Password

The MySQL database for the Hawkeye server uses a default username/password of hawkeye/hawkeye. For Corporate security, we recommend you to change the default passwords.

To change the password for the MySQL database for Keysight and root to access mySQL to run the Hawkeye server do the following:

  1. Shutdown Hawkeye services from Hawkeye server console. Use the command below to stop the services:
    • # systemctl stop httpd

Stopping the httpd service, stops Apache, which is the mechanism to access MySQL.

  1. Change your password with MySQL command line using the following commands:
    • # changeDBpasswd

    You have changed the root and hawkeye database account passwords.

Change System Administrator Password

Use a web browser to log into the Hawkeye server. Select the web page for system users management under Administration. There will be a user entry for sysadmin. Select the pencil to edit the settings for sysadmin. Once the edit button is selected the bottom pane will allow the password for sysadmin to be changed.

Change Hawkeye Server Virtual Machine Passwords

The default password for the Hawkeye server virtual machine is ksuser/keysight. Privilege escalation is available with the su - command and the password keysight.

To change the ksuser password, ssh to the Hawkeye server and run the passwd command. While logged in to the cli as ksuser, you can escalate privileges with su - and then run the passwd command.