Recover a forgotten password for ESET PROTECT VA
Recover the forgotten operating system user password
1.In the Boot Grub Menu select the option to edit: e.
2.Go to the line starting with linux... and change ro to rw init=/sysroot/bin/sh
3.Press CTRL+X to start the ESET PROTECT VA in a Single-User Mode.
4.Access the system with this command:
chroot /sysroot
5.When you are in the shell in Single-User Mode, change your root password using the passwd root command.
If you receive the “passwd: Authentication token manipulation error”, follow these troubleshooting steps.
6.Update SELinux information:
touch /.autorelabel
7.Exit chroot:
exit
8.Reboot your system:
reboot
Reset the forgotten database root password
1.Stop the MySQL service:
sudo systemctl stop mysqld
2.Start MySQL in safe mode:
systemctl set-environment MYSQLD_OPTS=--skip-grant-tables
Running the above command enables the database connection without a password. We recommend temporarily disconnecting the computer from the network, or at least blocking the MySQL port on the firewall. |
3.Start the MySQL service:
systemctl start mysqld
4.Connect to MySQL:
mysql -u root
5.Use the MySQL database:
use mysql
6.Remove the root user password:
UPDATE mysql.user SET authentication_string=null WHERE User='root';
Removing the root user password is a security risk. Complete the steps below to set up a new password. |
7.Reload the privileges:
FLUSH PRIVILEGES;
8.Exit MySQL:
exit;
9.Stop the MySQL service:
sudo systemctl stop mysqld
10. Run the following command:
systemctl unset-environment MYSQLD_OPTS
11. Start MySQL:
sudo systemctl start mysqld
12. Restart the VA and use the Change database password option to set up a new password. When prompted to type the old password, press Enter.
Now, you can log in to MySQL using the new password.