I. first introduced that the most popular desktop linux is also the ubuntu most popular among hackers and network administrators: 1. press E in the grub option menu to enter the editing mode. 2. edit the last line of the kernel (press space) add rwinit =/bin/bash3 and press B to restart 4. run the following command after entering # passwdroot # enter the new password # enter the password again # init6 2. near unix edition × BSD1, boot go to guide menu 1. introduction first, the most popular desktop linux is also the most popular ubuntu for hackers and network administrators:
1 ,In the grub option menu, press E to enter the editing mode.
2 ,Edit the last line of the kernel (by space) and add rwinit =/bin/bash
3 ,Press B to restart
4 ,Run the following command
# Passwd root
# Enter a new password
# Enter the password again
# Init6
II. near unix * BSD
1,Boot to the boot menu
2,Select each item (press 4) to enter the single-user mode
3,Enter a command column
Root @ # mount-
Root @ # fsck-y
Root @ # passwd root
Root @ # enter the password
Root @ # enter the password again
Root @ # init6
III. centos
1. press E in the grub option menu to enter the editing mode.
2. edit the last line of the kernel (by space) and add 1
3. restart by B
4. run the following command
# Passwd root (set the root password)
# Enter a new password
# Enter the password again
# Reboot
IV. the most official server version rhel
Similar to centos. if 1 is not supported, it is changed to s or single
Enter exit when the kernel is loaded (unfinished). just stop it.
5. I like debian too.
1. in the grub option menu 'debiangnu/Linux,... (recoverymode) ', press e to enter the editing mode.
2. edit the rosingle at the end of the line of the kernel to rwsingleinit =/bin/bash, and press B to restart.
3. run the following command
Root @ (none) # mount-
Root @ (none) # passwdroot
Root @ (none) # reboot
6. Red Hat ORA
1. press E in the grub option menu to enter the editing mode.
2. add S (or Single) to the last line of the kernel)
3. Press B to start single-usermode.
4. run the following command
# Mount-tprocproc/proc
# Mount-oremount, rw/
# Passwd
# Sync
# Reboot