You can recover MySQL database server password with following five easy steps.
Using the same password on different servers allows attackers to access your accounts if cracker manage to steal your password from a less secure server. This is true for online website accounts too. So solution is to create unique passwords for server accounts like your email, sftp and ssh accounts. General guideline to create a strong and unique password is as follows:
This is really a bad idea, but say you have a need like I recently had to setup an account so that you don’t need a password in order to log in. Most linux distributions make this pretty easy, just issue a passwd -d command on that user (as root) and the password prompt goes bye bye.
Root wachtwoord kwijt?
Voer de volgende stappen uit om een nieuw root wachtwoord in te stellen
- Hold the Shift key at boot to display the Grub boot menu.
- Select the top Grub entry, it will be similar to:
Ubuntu, with Linux 2.6.32-22-generic-pae
- Hit e to edit the the Grub entry.
- Find the line that looks like this:
linux /boot/vmlinuz-2.6.32-22-generic-pae root=UUID=xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx ro vga=794 quiet splash
- Change the line to:
linux /boot/vmlinuz-2.6.32-22-generic-pae root=UUID=xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx rw init=/bin/bash
- Hit crtl+x to boot
Your machine will now do a one time boot into single user mode. Once you reboot the changes you just made to Grub will be reverted.