• 🌙 Community Spirit

    Ramadan Mubarak! To honor this month, Crax has paused NSFW categories. Wishing you peace and growth!

Get root if you have physical access to the computer (Linux) (1 Viewer)

Currently reading:
 Get root if you have physical access to the computer (Linux) (1 Viewer)

Recently searched:

ChanChinuio

Member
LV
2
Joined
Apr 17, 2023
Threads
10
Likes
6
Awards
6
Credits
1,202©
Cash
0$
Hi Bros!

If you have physical access to a Linux computer, and the disk is not encrypted, it's easy to get root privileges, following these steps:

  • Boot the Linux system and access the GRUB boot loader menu by pressing and holding the Shift key during startup (if GRUB is not already set as the default boot loader).
  • Select the Linux distribution and version you want to boot into and press the "e" key to edit the boot configuration.
  • Find the line that starts with "linux" or "linux16" and append the following at the end of the line: init=/bin/bash.
  • Press Ctrl+X to boot into single-user mode.
  • Type the command mount -o remount,rw / to remount the root file system as writable.
  • Type the command passwd to change the root password. Follow the prompts to set a new password.
  • Reboot the system by typing the command reboot and pressing Enter.
I hope this information is useful for you.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Tips
Recently searched:

Similar threads

Users who are viewing this thread

Top Bottom