Page 2 of 12 FirstFirst 1234 ... LastLast
Results 11 to 20 of 113

Thread: Is root in recovery mode a security risk?

  1. #11
    Join Date
    Nov 2004
    Location
    Portland, Or, USA
    Beans
    289
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Recovery Mode boots into Root

    Quote Originally Posted by 23meg
    Local physical security is every bit (pardon the pun) as important as remote security. Keeping your laptop within your reach at all times and physically securing the space where your desktop / server resides should be your #1 priority, before passwords, encryption and firewalls.
    Of course a physically secure machine that is wide open to the internet is useless too. You need to balance this all...

    Practical security is a trade off between security, cost and usability.

    CMW is very secure, is fairly expensive and is really nasty to have to use. The trade-off is not normally worth it.

    Like everything else you need to decide how much you trust your users, how much you can put up with in the way of extra effort, and how much you can afford to spend on this. With a lot of money and a lot of extra effort you could put your computer in a vault with a security guard standing watch over your users... But is that reasonable.

    Think of trade offs, decide what you want to accomplish (or legally have to with HIPAA and Sarbanes-Oxley) and then implement it.

    Z.

  2. #12
    Join Date
    Nov 2004
    Location
    Portland, Or, USA
    Beans
    289
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Recovery Mode boots into Root

    Quote Originally Posted by psusi
    That's why you encrypt the WHOLE disk ( including the OS ).
    In which case you have to decrypt it so that they can access your machine (I am assuming other users on this machine and it seems reasonable given that he is worried about people rebooting it...)

    If you don't have any other users then yes, encrypt the whole disk, and never leave it up when you leave it.

    Z.

  3. #13
    Join Date
    Jan 2006
    Beans
    40
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Recovery mode?

    I booted into recovery mode for the first time today (it was an accident). and when it finished booting it dropped me at a root prompt, without asking for a password or anything! Is this the standard behaviour? Because this seems to be very insecure...

  4. #14
    Join Date
    Oct 2005
    Location
    Estonia / Sweden
    Beans
    2,332
    Distro
    Ubuntu Development Release

    Re: Recovery mode?

    this is very standard and highly necessary, when u have managed to damage your system or lost your password... i guess that is why it has a name of RECOVERY

    it is true, that it seems a bit insecure (a lot for that matter) but it is the only way to have a chance to fix your system when everything else fails

  5. #15
    Join Date
    Jan 2006
    Beans
    40
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Recovery mode?

    I understand that, but couldn't they at least ask for a password?

    I mean, it doesn't take much for someone to completely destroy my machine.

  6. #16
    Join Date
    Dec 2005
    Location
    Finland
    Beans
    339
    Distro
    Ubuntu Development Release

    Re: Recovery mode?

    It's just like Win95 where you could bypass the password prompt by pressing Esc

  7. #17
    Join Date
    Apr 2005
    Beans
    6

    Re: Recovery mode?

    Quote Originally Posted by ramiro
    I mean, it doesn't take much for someone to completely destroy my machine.
    But they would have to be in front of your computer though. If you trust someone enough to let them come that close to your computer, they usually wouldn't do anything like that anyway. And if someone actually does get into your house and do that, your computer is probably the least of your worries.

  8. #18
    Join Date
    Dec 2005
    Location
    Finland
    Beans
    339
    Distro
    Ubuntu Development Release

    Re: Recovery mode?

    Quote Originally Posted by wien
    And if someone actually does get into your house and do that, your computer is probably the least of your worries.
    Some skinny hacker armed with a wireless mouse... He'd be needing some serious recovery mode after that

  9. #19
    Join Date
    Oct 2005
    Location
    Estonia / Sweden
    Beans
    2,332
    Distro
    Ubuntu Development Release

    Re: Recovery mode?

    i guess if you'r really scared, then you can delete the recovery option lines from your grub menu ... but if you then mess up your comp, then you'r in trouble...

    AND if you don't guard your BIOS settings with admin password, it is easy to get access to your comp by setting it boot from cd and using knoppix... just a thought

  10. #20
    Join Date
    Feb 2006
    Beans
    0
    Distro
    Dapper Drake Testing/

    Re: Recovery mode?

    You can password protect grub if you want.

    In a terminal:

    Execute grub:
    $ grub

    Enter the md5crypt command:
    grub> md5crypt

    Enter the password you want to use:
    Password: ********

    Example of respond from grub:
    Encrypted: $1$k823K1$2qUgkIIUD7p6YMRXRDTw3/

    Remember the encrypted password.

    Quit grub:
    grub> quit

    Open /boot/grub/menu.lst and add your encrypted password "password --md5 $1$k823K1$2qUgkIIUD7p6YMRXRDTw3/" to this section:

    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line) and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    password --md5 $1$k823K1$2qUgkIIUD7p6YMRXRDTw3/

    Locate this section:

    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ## lockalternative=false
    # lockalternative=false

    Change it to:

    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ## lockalternative=false
    # lockalternative=true

    Save and quit menu.lst.

    Excute update-grub:
    $ sudo update-grub

    Reboot...

    Recovery mode is now password protected.

    I take no responsibilities for anything that may go wrong and make your system unbootable !!!!!

Page 2 of 12 FirstFirst 1234 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •