|
Forgetting your root password is not an insurmountable problem. You can enter a new root password by booting your computer in single user mode. This is a special mode of operation, used mainly by system administrators for specific tasks. You can use this mode to recover from a lost root password. You enter single-user mode when the system is starting, from the boot loader screen. The Fedora boot loader screen is shown in Figure 4-18. Notice that it includes some directions: 'e' to edit the command before booting. To enter single-user mode:
In Mandrake, you can enter single user mode by choosing Failsafe at the boot loader. For other distributions, read the documentation. If you use LILO instead of GRUB, type linux single at the boot prompt. When your system finishes booting, it displays a prompt. If it asks for a login, enter root. At this point, you can change your root password. Type: passwd root Enter the new password twice when prompted. Then type: reboot to reboot your computer in its normal modemulti-user mode. |
|