to crack the Xen password, the beginner Xen was not very good at the time, always think of the Xen character interface, not as the GUI menu appears.
Xen Virtualization Platform XM one command parameter- Ccan solve this problem, can appear the character Interface Grub menu,
This article only introduces a simple way to achieve, that is, in this way to achieve a single user mode startup, change the password.
1. If you forget the root password one day
2. Turn off the virtual machine
XM shutdown DD
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/83/1F/wKioL1dra37Q46eGAAAtJT4vX4A030.png-wh_500x0-wm_3 -wmp_4-s_2629450089.png "title=" 00.png "alt=" Wkiol1dra37q46egaaatjt4vx4a030.png-wh_50 "/>
3. Start the virtual machine with the-C parameter
# XM Create–c DD
The character interface Grub menu appears when you start the virtual machine #通过-C parameter.
(1) The interface appears, press the E key quickly and edit the command line.
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/83/1F/wKiom1dra8Cinp7WAABPYhaO95k012.png-wh_500x0-wm_3 -wmp_4-s_1148403790.png "title=" 00.png "alt=" Wkiom1dra8cinp7waabpyhao95k012.png-wh_50 "/>
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/83/1F/wKiom1dra9Ki08XcAABiUjNCaok299.png-wh_500x0-wm_3 -wmp_4-s_3521814520.png "title=" 00.png "alt=" Wkiom1dra9ki08xcaabiujncaok299.png-wh_50 "/>
(2) cursor moves to the end of line, add single or 1 and press ENTER to confirm the change.
650) this.width=650; "Src=" http://s2.51cto.com/wyfs02/M01/83/1F/wKioL1dra-HxCmsOAAAtH40eU7g677.png-wh_500x0-wm_ 3-wmp_4-s_3256261.png "title=" 00.png "alt=" wkiol1dra-hxcmsoaaath40eu7g677.png-wh_50 "/>
(3) Return to the parent menu, press b execute start.
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/83/1F/wKioL1dra_HDhrB6AAAtH40eU7g785.png-wh_500x0-wm_3 -wmp_4-s_3903998650.png "title=" 00.png "alt=" Wkiol1dra_hdhrb6aaath40eu7g785.png-wh_50 "/>
(4) System successfully entered single user mode
(5) Modify the system password and restart the virtual machine
passwd Root
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/83/1F/wKiom1drbAPDNkMvAAAQ0DU9zag556.png "title=" 00.png "alt=" Wkiom1drbapdnkmvaaaq0du9zag556.png "/>
Restarting the server
Reboot
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/83/1F/wKioL1drbBPBJkLkAAAOu_GLqtE399.png-wh_500x0-wm_3 -wmp_4-s_1234774785.png "title=" 00.png "alt=" Wkiol1drbbpbjklkaaaou_glqte399.png-wh_50 "/>
At this point password cracking is completed, usually a server security 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, again.
This article is from the "Calf---xmlgrg" blog, please be sure to keep this source http://xmlgrg.blog.51cto.com/10467412/1792134
6. Xen Virtual machine cracked password