1. Restart the system.
2. During booting when a windows similar to the following one appears press E key.
Appears things as in the screen.
3. Change the line starts with linux /boot... in the way shown below
4. Ctrl+X to boot the system. The console appears with the rool privileges which allows you to change the password.
To prevent this kind of situations you can set a password for the boot loader. Detailed description was posted on ubuntuforums.org so I won't explain it. I'll show only how this operation looks like.
1. Open the 00_header file
2. Add the highlighted line at the end of it. These lines contain user name and user password which the system will be asked for when you are trying to modify the boot menu
3. Save the file, update the grub and reboot the system.
4. After the grub menu is displayed, press 'e' to edit the selected boot entry.
5. The system prevents from editing the entries by asking for the credentials entered before.
6. After correct authentication you will be able to change the boot entries.
But when you secure your Debian system in this way, there is possible to crack it anyway. How? By using a bootable CD/DVD with some linux distribution :)
Enjoy:)
No comments:
Post a Comment