*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 ...
27th March 2010, 09:56 PM #1
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.
(It's Saturday night and I've had too much JD to think straight).
IDG Tech News
27th March 2010, 10:07 PM #2
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.
27th March 2010, 10:33 PM #3
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.
27th March 2010, 10:51 PM #4
Originally Posted by powdarrmonkey
Thanks for that - he's coming over in the morning so we'll give it a try then. Thank you.
27th March 2010, 11:56 PM #5
28th March 2010, 12:01 AM #6
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
28th March 2010, 12:52 PM #7
- Rep Power
I've been in that situation before and did what EduTech said. Quite scary how easy it is really!
Originally Posted by EduTech
By DaveP in forum Downloads
Last Post: 7th February 2010, 12:26 PM
By timbo343 in forum MIS Systems
Last Post: 5th December 2008, 12:26 PM
By flashsnaps in forum Windows
Last Post: 15th July 2008, 12:25 PM
By RabbieBurns in forum How do you do....it?
Last Post: 17th June 2008, 10:31 PM
By spikezster in forum Windows
Last Post: 17th October 2007, 09:15 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)