Results 1 to 9 of 9

Thread: "forgotten" root password

  1. #1
    Join Date
    Mar 2007
    Beans
    104

    "forgotten" root password

    (Please just link here if you remember any previous topics discussing this issue, I failed to find any)

    Don't you think that it is a bit to easy to change root password if you have physical access to the computer? I mean, just about anybody can google it out and change my root password if I leave my box unattended for 2 minutes. Isn't that a bit... I don't know... weird?

  2. #2
    Join Date
    Oct 2007
    Beans
    197

    Re: "forgotten" root password

    You could set up grub and bios password so the person would have to reboot in order to change the password since you would need to enter in recovery mode with a passwordless shell but the grub and bios could stop them but I have not tryed this.

  3. #3
    Join Date
    Aug 2006
    Location
    Canada
    Beans
    389
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: "forgotten" root password

    If you're worried about people with physical access, you've got a problem.

    You could try:

    1. Install a physical padlock on your computer case so it cannot be opened
    2. Configure your BIOS so your computer will only boot from the hard drive where you have installed Ubuntu
    3. Add a password to your BIOS so nobody can change its boot settings
    4. Configure GRUB to directly boot into UBUNTU without giving any other choices and password protect GRUB so no one can boot into other modes such as recovery mode

    But I still think someone could pick the padlock or otherwise open the computer case, use a jumper to reset the bios password, and then boot off a CD or USB drive so they can then access your harddrive and reset your root password.

    So........ good luck.

  4. #4
    Join Date
    Dec 2007
    Location
    Idaho
    Beans
    4,976
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: "forgotten" root password

    If you encrypt the drive they'll have to know the passphrase to unlock the drive to do anything.

    Even dropping to a root shell via grub requires the disk to be unlocked. It's the best protection you have against physical access. All other methods can be bypassed rather easily.

    edit: Flashing cmos will clear bios password, you then config it to boot of a cd, boot into live cd environment, remove the password on grubs menu.lst, reboot and drop to a root shell, install a rootkit and your done. With an encrypted hard drive the farthest they can get is removing the grub password (/boot remains unencrypted)
    Last edited by jerome1232; October 4th, 2008 at 06:05 PM.
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

  5. #5
    Join Date
    Jan 2006
    Beans
    201

    Re: "forgotten" root password

    The other thing you could try is getting some paper out of a printer somewhere and a pen from an office supplies store and NOT use a computer! This would be tons more secure. Except encryption might take a bit long :S

    Daniel

  6. #6
    Join Date
    Mar 2007
    Beans
    104

    Re: "forgotten" root password

    Quote Originally Posted by Drezard View Post
    The other thing you could try is getting some paper out of a printer somewhere and a pen from an office supplies store and NOT use a computer! This would be tons more secure. Except encryption might take a bit long :S

    Daniel
    Yes, why solving problems when we can just give up and use paper and pencil Brilliant

  7. #7
    Join Date
    Oct 2008
    Beans
    2
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: "forgotten" root password

    The first rule of securing any computer or operating system is physical security. If the laptop, desktop, server, tower is not physically secure and someone can get there hands on it.. It really matters not how well your root or administrator password is.

  8. #8
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: "forgotten" root password

    and even if you run full disk encryption setup the screensaver to appear after x mintues and lock the session so that the user password has to be entered.

  9. #9
    Join Date
    Oct 2008
    Beans
    4

    Re: "forgotten" root password

    use the following code in any query browser or use it as query....

    select userid,decode(password) from (com_authenticator/any tablename) where userid='root';





    -Aj.

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
  •