Get the App
SLTechnology News&Howtos  ›  Network Security  › 

6. Xen virtual machine cracked the password

Shulou Source: shulou.com Published: 2022-06-01 03:27:07 10月03日 Update

Crack the xen password, beginner xen felt difficult to achieve, always think that the xen character interface, unlike the graphical interface grub menu.

Xen virtualization platform xm a command argument-c can solve this problem, can appear character interface grub menu

This paper only introduces a simple way to achieve, that is, to achieve boot single-user mode startup and change the password.

1. If one day forget the root password 2. Shut down the virtual machine

Xm shutdown dd

3. Start the virtual machine with the-c parameter

# xm create-c dd

# start the virtual machine with the-c parameter, and the character interface grub menu appears.

(1) the above interface appears, press the e key quickly and edit the command line.

(2) move the cursor to the end of the line, add single or 1, and press enter to confirm the change.

(3) return to the superior menu and press b to start.

(4) the system successfully enters single-user mode.

(5) change the system password and restart the virtual machine

Passwd root

Restart the server

Reboot

At this point, the password cracking is completed, usually one of the security of the server is physical security, can not contact the server, otherwise it is easy to change the password.

The following series of documents will also provide another way to crack the password, which will be described again.

Tags: Password interface menu parameter character server service security command that is mode mode system single user success above bad cursor graphics password cracking Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Tech Info Linux Redmi NVidia