Skip to content

Instantly share code, notes, and snippets.

@sebastian13
Created October 10, 2019 19:48
Show Gist options
  • Save sebastian13/89424b6836d65f98c74f722aaf9f4e07 to your computer and use it in GitHub Desktop.
Save sebastian13/89424b6836d65f98c74f722aaf9f4e07 to your computer and use it in GitHub Desktop.

Revisions

  1. sebastian13 created this gist Oct 10, 2019.
    11 changes: 11 additions & 0 deletions reset-zabbix-admin.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    # Access mysql console
    mysql -u root -p

    # Select Database
    use zabbix;

    # List existing users
    select * from users;

    # Update Password
    update users set passwd=md5('mynewpassword') where alias='Admin';