Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Grub Problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
zoe
Guru
Guru


Joined: 10 Jun 2007
Posts: 324
Location: Greece

PostPosted: Mon Sep 03, 2007 11:38 am    Post subject: [solved]Grub Problem Reply with quote

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
View user's profile Send private message
Rob1n
l33t
l33t


Joined: 29 Nov 2003
Posts: 714
Location: Cambridge, UK

PostPosted: Mon Sep 03, 2007 12:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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