You are not logged in.
...if I can just enter root through reovery mode? Is there a way to protect that with a password?
Offline
You need to give yourself a root password:
sudo passwd rootBut even that's not bulletproof, anybody with physical access to the machine can boot into a root shell if they pass the init=/bin/bash kernel argument.
Offline
Account passwords are not worth a dime in physical access situations. They are meant to protect servers from unpriviledged users. A "secure" desktop needs some more things done.
I'm so meta, even this acronym
Offline
Edit /etc/default/grub , uncomment GRUB_DISABLE_RECOVERY="true" so recovery boot options don't show up in the grub menu anymore ? Then just rely on professor Xaos's chroot how to.
Not that it's a security precaution so much. Though removes the opportunity for someone to boot into them I guess.
I tend to disable them cause I don't like a crowded grub menu. Then again ... also tend to just choose whichever kernel I want to boot into as default and set the grub_timeout to 0 anyway, so I don't see the grub2 menu. Am booting a couple installs with grub legacy here.
vll! 
afterthought babble ...
Whenever you edit that file, you have to "sudo update-grub" in terminal in order for changes to take effect. That is if anyone wants to do this, shrugs.
Last edited by CBizgreat! (2012-07-23 21:02:26)
Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.
Vll ! = ( Viva la gnu/Linux !) Vl#!! = ( Viva la #! !) Last but not least, UD ... OD ! = ( Use Debian ... or die !) 
Offline
The point of recovery mode is to allow you to recover your system in case of unforeseen circumstances, such as a forgotten password. Agree that you might want to lock this down if the computer is public such as a kiosk. If you are truly concerned that malicious people might have physical access to your computer, the best option is encryption. Not only will this prevent someone from booting your machine without the password, it will also prevent them from getting your data in 101 other ways as well. 
/hugged
Offline
thanks all for the replies. I will remove grub from the menu for starters.
Offline
As long as they have your box, anyone can boot a live CD and do whatever they want.
I have a BIOS password set on my laptop (+autologin) - even that can be bypassed but it takes more work so might deter the idle tinkerer for a while.
Encryption sounds like a good idea though.
John
--------------------
( a boring Japan blog , and idle twitterings )
Offline
To turn off a certain stage, I have to put an option into the bootloader configuration, that reads like:
OFF=on
Debian... *facepalm*
I'm so meta, even this acronym
Offline
We had an encryption key via a USB stick at one time for laptops. Basically w/o the USB to complete the boot encryption = No Boot.
@Awebb
Could/would you elaborate on the (OFF=on) bootloader configuration or point to on line examples of the same. Thank You.
OHCG #!, Wheezy,, Siduction-12, Bridge-Arch , Slackware & Sabayon X,
Offline
Encryption should keep your data safe from all but the most determined (NSA types?).
Keeping your PC in some form of security cage might mitigate the bootdisk/USB stick option for gaining access.
Just bear in mind that whatever you do to protect it from others may well prevent you from recovering your data should something happen to the computer!!!
Offline
@Awebb
Could/would you elaborate on the (OFF=on) bootloader configuration or point to on line examples of the same. Thank You.
Of course. I was only twitching in pain a little because of the logic behind this:
Edit /etc/default/grub , uncomment GRUB_DISABLE_RECOVERY="true" so recovery boot options don't show up in the grub menu anymore
To turn off a certain stage, I have to put an option into the bootloader configuration, that reads like:
OFF=on
Debian... *facepalm*
This reads like: "Turn on the turning-off to turn to turn on-off something that turns you off."

I'm so meta, even this acronym
Offline
...if I can just enter root through reovery mode? Is there a way to protect that with a password?
I suggest Whole Disk Encryption - if the HDD is encrypted, you are sure.
Have a nice day!
Bye
"If you can dream it, you can do it!" [Walt Disney]
Offline
I suggest Whole Disk Encryption - if the HDD is encrypted, you are sure.
I support this fully!
Only full disk encryption can protect your data physically. Look at LUKS - this is a good opportunity for Linux systems. If you have trouble, we will help you. But the Debian-Installer supports this type of crypto.
It is good that you are sensitive to the issue. Best regards!
Last edited by xf (2012-09-17 13:44:11)
#! CrunchBang Waldorf @ Lenovo Thinkpad X131e
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.