erol.name
  • Linux
  • Windows
  • Retro gaming
  • C64
  • Mobile
  • Raspberry Pi

erol.name

Tag: hack

Posted on 19. 10. 200718. 04. 2017

MySQL root user hack

In case you have forgotten your root password for MySQL database, you can change it by first killing all mysql processes with:

killall mysql or /etc/init.d/mysql stop (for Debian users)

Now you have to start mysql again with this command:

mysqld --skip-grant-tables &

Continue reading “MySQL root user hack”

Posted on 16. 10. 200718. 04. 2017

Linux root login hack

After you tried to log in with root user three times and got the message “maximum number of log ins exceeded” you have to restart the computer.

On the GRUB menu, press “E” once to enable edit, and press “E” again on the kernel line to edit it. Near the end of this line change value “ro” to “rw” and add “init=/bin/bash” at the end of this line.

Now boot into Linux and you will have root shell access where you can change the password or do whatever you please.

Recent Posts

  • dietpi fstab network
  • How to fix autounpack in rutorrent
  • Midnight commander mc not showing in default colors in GNU screen
  • OGA – Odroid Go Advance replace glass screen lens
  • Add IP to CirrOS manually if DHCP fails

Recent Comments

  • simone on Manually add files and folders to ownCloud
  • erol on How to additionally clean-up Kodi MySQL database from unwanted entries
  • John on How to additionally clean-up Kodi MySQL database from unwanted entries
  • jackd on Switch axis in pifba retropie emulator configuration
  • polv on Select and hide unmounted drive icons from Xfce desktop

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2007-2017 by Erol Tahirović