Root access through grub

From Attie's Wiki
Jump to: navigation, search

To gain root access through an un-protected grub installation do the following:

  1. boot to the grub screen, and press 'e' to edit the boot option
  2. select the kernel line and press 'e' to edit it
  3. add the following to the end of the kernel line
rw init=/bin/sh

OR

rw single
  1. press enter after editing the kernel line
  2. now press 'b' to boot the kernel
  3. once the shell has been presented to you, you can check that you are root with the `whoami` command
  4. now wreak havoc!
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox