View previous topic :: View next topic |
Author |
Message |
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Mon Sep 03, 2007 11:38 am Post subject: [solved]Grub Problem |
|
|
in my grub i have this
# For booting GNU/Linux
title GNU/Linux
root (hd0,4)
kernel /boot/gentoo-kernel root=/dev/hda7
#initrd /initrd.img
# For booting Gentoo with the static rescue shell
title Gentoo (rescue shell)
root (hd0,4)
kernel /boot/gentoo-kernel root=/dev/hda7 init=/bin/bb
Everything is perfect when i try to boot my gentoo.but when i login in the rescue shell i'm not asked about password and when i type
cd /root
i'm in.so it's easy for anyone to hack into my machine.how can i fix this?
thanks in advance
Last edited by zoe on Fri Sep 07, 2007 9:48 pm; edited 1 time in total |
|
Back to top |
|
|
Rob1n l33t
Joined: 29 Nov 2003 Posts: 714 Location: Cambridge, UK
|
Posted: Mon Sep 03, 2007 12:18 pm Post subject: |
|
|
You can't - that's the point of a rescue shell (how can it read the password when your partition is inaccessible?). Well, you could add a password to grub (though that wouldn't prevent someone booting from floppy or CD), or a bootup password for your system (again, easy to bypass by resetting the BIOS), or encrypt the hard drive. Security is generally centered around preventing access to the hardware in the first place, and preventing remote access. Beyond that gets complicated, expensive or risky (what happens if you forget the encryption password, or the disk gets slightly corrupted - you've lost everything). |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|