LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-25-2010, 03:01 AM   #1
jaycee4
Member
 
Registered: Aug 2009
Posts: 42

Rep: Reputation: 7
Windows User Password Forgotten - Linux Recovery?


Hi!
I have a friend that tried to change her user password on Windows, and now can't log in to her account. Of course it's the only user account on the computer... are there system recovery tools on any Linux liveCDs that could change the passwords of Windows user accounts? Thanks for any help!
(And, sadly, the Linux alternative seems unlikely at best, but I'll evangelise nonetheless... )
 
Old 09-25-2010, 03:06 AM   #2
jaycee4
Member
 
Registered: Aug 2009
Posts: 42

Original Poster
Rep: Reputation: 7
Never mind - the password was remembered. My apologies.
 
Old 09-25-2010, 03:09 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Which windows?

The windows way:
http://www.tech-pro.net/howto-lost-a...-password.html

Using gnu/linux:
http://happylinuxthoughts.blogspot.c...ith-linux.html

You are right - the best practice for this situation is to mount the drive from linux, backup the files, install <insert distro here> to the whole drive, move the files to the distro user directory. Quiz the user on intended uses and install the needed software ... a short familiarity course and they are away.
 
Old 09-25-2010, 03:15 AM   #4
basheer
Member
 
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Rep: Reputation: 29
Smile

Sadly u cannot recover the password.
But if you want to recover important data you can do so by using any livecd of linux and mount the harddisk.
open a terminal
#mount -t ntfs /dev/sdaX /mnt
where X is the number of the partion on which windows is installed.
Usually that is 1.
So it should be
#mount -t ntfs /dev/sda1 /mnt
cd /mnt

you can copy all your important files on a safer location.
 
Old 09-25-2010, 04:08 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Sadly u cannot recover the password.
Yes you can, as seen in the links Simon Bridges provided.

Kind regards
 
Old 09-25-2010, 04:43 AM   #6
basheer
Member
 
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Rep: Reputation: 29
tahnx for the info Simon Bridge and repo, I never knew it.
 
Old 09-27-2010, 09:23 AM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
No worries - actually I was a bit surprised by the registry hack, when I started looking I figured it would have to be a brute-force or dictionary attack on the encrypted passwords. Turns out you can just delete them.

The moral here is, if the bad guys have physical access to your machine it is pretty much game over. Go for whole-disk encryption to be secure - then you cannot recover the passwords or the data.

Pick an 8+ random character password and keep it on a bit of paper in your wallet.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
forgotten user name and password mythdora 10.21 theacerguy Linux - General 1 05-12-2009 10:20 AM
I have Forgotten my user password aditya2050 Linux - General 3 07-01-2008 11:36 AM
Problem while changing linux forgotten root password aabi Linux - General 1 01-01-2008 10:27 AM
Forgotten user password Suse_Newbie69 SUSE / openSUSE 2 01-03-2007 07:12 PM
Root user/password recovery/Fedora killercrazyeyes Linux - Software 6 10-19-2005 02:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration