SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-07-23 20:20:42

tedbell
#! Junkie
Registered: 2012-05-08
Posts: 311

What's the point of password protection...

...if I can just enter root through reovery mode? Is there a way to protect that with a password?

Offline

Help fund CrunchBang, donate to the project!

#2 2012-07-23 20:24:53

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,643

Re: What's the point of password protection...

You need to give yourself a root password:

sudo passwd root

But 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

#3 2012-07-23 20:40:20

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: What's the point of password protection...

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

#4 2012-07-23 20:42:46

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,271

Re: What's the point of password protection...

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. smile 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! smile


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 !) tongue

Offline

#5 2012-07-23 22:03:00

snowpine
#!-a-roo
Registered: 2008-11-24
Posts: 2,554

Re: What's the point of password protection...

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. smile


/hugged

Offline

#6 2012-07-23 22:47:55

VastOne
#! Ranger
From: #! Fringe Division
Registered: 2011-04-26
Posts: 9,703
Website

Re: What's the point of password protection...

^ Well said and spoken truth snowpine. cool


VSIDO
If you build it, they will come...
Words That Build Or Destroy

Offline

#7 2012-07-23 23:02:38

tedbell
#! Junkie
Registered: 2012-05-08
Posts: 311

Re: What's the point of password protection...

thanks all for the replies. I will remove grub from the menu for starters.

Offline

#8 2012-07-24 03:09:09

johnraff
#!Drunkard
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 2,462
Website

Re: What's the point of password protection...

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

#9 2012-07-24 05:42:42

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: What's the point of password protection...

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

#10 2012-07-24 16:03:20

sqlpython
#! Die Hard
Registered: 2011-11-28
Posts: 820

Re: What's the point of password protection...

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

#11 2012-07-24 18:56:22

ad3y
Member
Registered: 2012-07-04
Posts: 12

Re: What's the point of password protection...

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

#12 2012-07-24 21:49:54

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: What's the point of password protection...

sqlpython wrote:

@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:

CBizgreat! wrote:

Edit /etc/default/grub , uncomment GRUB_DISABLE_RECOVERY="true" so recovery boot options don't show up in the grub menu anymore

Awebb wrote:

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."

zak_mckracken_and_the_alien_mindbenders_051.png


I'm so meta, even this acronym

Offline

#13 2012-09-17 13:15:50

hochrappenkopf
#! CrunchBanger
From: Germany
Registered: 2011-02-15
Posts: 170

Re: What's the point of password protection...

tedbell wrote:

...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

#14 2012-09-17 13:41:24

xf
Member
From: Vienna
Registered: 2012-09-12
Posts: 19

Re: What's the point of password protection...

hochrappenkopf wrote:

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

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo