+ Post New Thread
Results 1 to 7 of 7
*nix Thread, Forgotten Username & Password in Technical; A friend has just phoned in a panic - he's got a works laptop with Vista & Ubuntu set up ...
  1. #1

    tech_guy's Avatar
    Join Date
    May 2007
    Location
    That little bit in the middle of Little Old England
    Posts
    7,630
    Blog Entries
    3
    Thank Post
    1,722
    Thanked 1,245 Times in 678 Posts
    Rep Power
    328

    Forgotten Username & Password

    A friend has just phoned in a panic - he's got a works laptop with Vista & Ubuntu set up on it.

    He's not used Ubuntu for some time and has forgotten the username and password that he set (he's only the technology director of an electronics company so you'd expect better, eh?!).

    He's got some work files that he needs for Monday and thinks he created them in Ubuntu using Open Office.

    Am I correct in saying to him all he needs to do is boot the laptop using an Ubuntu livecd and mount the hard drive and edit /boot/grub/menu.lst to remove the password? I seem to remember doing this myself or something very similar some time back.

    Many thanks.

    (It's Saturday night and I've had too much JD to think straight).

  2. IDG Tech News
  3. #2
    Jamman960's Avatar
    Join Date
    Sep 2007
    Location
    London/Kent
    Posts
    903
    Thank Post
    157
    Thanked 162 Times in 140 Posts
    Rep Power
    38
    Not too sure about changing the menu.lst file but he should at least be able to copy the files accross to a flash drive once booted into a live cd with the drive mounted.

  4. #3

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,856
    Thank Post
    412
    Thanked 776 Times in 649 Posts
    Rep Power
    170
    I doubt the password is on the bootloader, I expect it's the user account password in Ubuntu he's forgotten. Briefly, you need to:

    1. boot from a live cd and mount the root filesystem. example, it's at /dev/hda1:
    mkdir /mnt/tmp; mount /dev/hda1 /mnt/tmp
    2. mount other filesystems into /mnt/tmp/... if required
    3. chroot to the temporary filesystem and change his password
    chroot /mnt/tmp; passwd <user>
    4. exit the chroot, unmount filesystems and reboot

    If you need it I'm in Warwickshire and available in the morning or evening, but not afternoon.

  5. #4

    tech_guy's Avatar
    Join Date
    May 2007
    Location
    That little bit in the middle of Little Old England
    Posts
    7,630
    Blog Entries
    3
    Thank Post
    1,722
    Thanked 1,245 Times in 678 Posts
    Rep Power
    328
    Quote Originally Posted by powdarrmonkey View Post
    I doubt the password is on the bootloader, I expect it's the user account password in Ubuntu he's forgotten. Briefly, you need to:

    1. boot from a live cd and mount the root filesystem. example, it's at /dev/hda1:
    mkdir /mnt/tmp; mount /dev/hda1 /mnt/tmp
    2. mount other filesystems into /mnt/tmp/... if required
    3. chroot to the temporary filesystem and change his password
    chroot /mnt/tmp; passwd <user>
    4. exit the chroot, unmount filesystems and reboot

    If you need it I'm in Warwickshire and available in the morning or evening, but not afternoon.

    Thanks for that - he's coming over in the morning so we'll give it a try then. Thank you.

  6. #5
    box_l's Avatar
    Join Date
    May 2007
    Location
    Herefordshire
    Posts
    357
    Thank Post
    56
    Thanked 72 Times in 59 Posts
    Rep Power
    25
    Give this a try too.

    KON-BOOT - ULTIMATE WINDOWS/LINUX HACKING UTILITY :-)

    It works very well.

    BoX

  7. #6

    EduTech's Avatar
    Join Date
    Aug 2007
    Location
    Birmingham
    Posts
    4,892
    Blog Entries
    3
    Thank Post
    157
    Thanked 839 Times in 659 Posts
    Rep Power
    208
    When i had someone forget a password on Unbuntu i did the following, rather then right it out here is a link i have just pulled.

    How to reset your password in Ubuntu

    James

  8. #7

    Join Date
    Mar 2009
    Location
    Bottom Left
    Posts
    68
    Thank Post
    2
    Thanked 3 Times in 3 Posts
    Rep Power
    9
    I've been in that situation before and did what EduTech said. Quite scary how easy it is really!

    Quote Originally Posted by EduTech View Post
    When i had someone forget a password on Unbuntu i did the following, rather then right it out here is a link i have just pulled.

    How to reset your password in Ubuntu

    James

SHARE:
+ Post New Thread

Similar Threads

  1. Recover Forgotten BIOS Password
    By DaveP in forum Downloads
    Replies: 2
    Last Post: 7th February 2010, 12:26 PM
  2. Replies: 19
    Last Post: 5th December 2008, 12:26 PM
  3. Win XP Forgotten Password
    By flashsnaps in forum Windows
    Replies: 3
    Last Post: 15th July 2008, 12:25 PM
  4. sending username and password via post
    By RabbieBurns in forum How do you do....it?
    Replies: 13
    Last Post: 17th June 2008, 10:31 PM
  5. Replies: 3
    Last Post: 17th October 2007, 09:15 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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