Address: http://sunyu.blog.51cto.com/744725/338432
If we forget the Linux Root User Password, or the/etc/inittab file is changedID: 6: initdefault: ID: 0: initdefault:And so on... we cannot enter the system, so we should think of entering the single-user mode to handle the problem.
The following describes how to use Red Hat Enterprise Linux Server (2.6.18-164. e15xen) to access a single user:
1> turn on the power of the Linux machine and press"E"Key
Figure 1
Figure 2
2> in Figure 2, press"E"After the key, 3, select the module/vmlinuz-2.6.18-164.e15xen Ro root = label =/rhgb quied line, and press again"E"Key, 4 shown
SetModule/vmlinuz-2.6.18-164.e15xen Ro root = label =/rhgb quiedChange
Module/vmlinuz-2.6.18-164.e15xen Ro root = label =/rhgb quied 1
Or
Module/vmlinuz-2.6.18-164.e15xen Ro root = label =/rhgb quied linux single
Or
Module/vmlinuz-2.6.18-164.e15xen Ro root = label =/single
Figure 3
Figure 4
3> press enter to start the system, and then press B (BOOT) to enter the single-user mode ······
This article is from the "Ghost Zero blog" blog, please be sure to keep this source http://sunyu.blog.51cto.com/744725/338432