Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

6. Xen virtual machine cracked the password

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report