LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Resetting windows password from linux. (https://www.linuxquestions.org/questions/linux-general-1/resetting-windows-password-from-linux-419595/)

lasalsademuerte 02-25-2006 08:41 PM

Resetting windows password from linux.
 
I went to boot into the windows xp installation I have on one of my disk partitions only to be unable to login because I don't know the password(I'm pretty sure that I didn't even have one, but I must have just forgotten it.) I was just wondering if instead of using some procedure involving boot disks and the like, if there was a way to just mess with the password(change or reset it), perhaps the sam file, from linux instead. Thanks for any help.

aznboi12321 02-25-2006 09:38 PM

if u download this little linux distro it will reset ure password for you. I have tried it and it works. Just read the instructions on the screen. Burn it on a cd and then boot from it, it has instructions for u step by step once u boot from it:
Code:

http://home.eunet.no/~pnordahl/ntpasswd/cd050303.zip

dive 02-25-2006 09:42 PM

Have you tried just leaving pass blank and pressing enter? Happened to a friend of mine.

octinum 02-25-2006 09:51 PM

Something like Knoppix STD might help as well. The problem is, even if you change the password, how do you write it onto your NTFS partition?

bioalchemist 02-26-2006 10:04 PM

aznboi12321 is right - ntpasswd will do what you want. I use it as well - it works and you can have it downloaded and be finished resetting your pass before you can get a knoppix cd dl'd.
http://home.eunet.no/pnordahl/ntpasswd/

nguyennh 02-26-2006 10:10 PM

change Windows pass from Linux
 
Quote:

Originally Posted by bioalchemist
aznboi12321 is right - ntpasswd will do what you want. I use it as well - it works and you can have it downloaded and be finished resetting your pass before you can get a knoppix cd dl'd.
http://home.eunet.no/pnordahl/ntpasswd/


Have you tested if your Windows partition's filesystem is NTFS ? As I know , octinum is totally correct : kernel only supports NTFS in read-only mode .
If you've done successfully , please show us your experience .

spooon 02-27-2006 01:10 AM

The Linux 2.6 NTFS driver has always been able to overwrite existing files on NTFS, which is exactly what you need to change the password hashes in the file where it's stored.

nguyennh 02-27-2006 03:02 AM

Thanks for your info . I'm going to recompile kernel to support NTFS on read-write .

TruongAn 02-27-2006 03:35 AM

There is a lot of rumours that there is no safe to write on NTFS from linux. How do you think?

spooon 02-27-2006 03:50 AM

The kernel NTFS driver can always overwrite existing files; it just can't create, remove, or resize files or directories (which is what filesystem "write" usually means).

The userspace NTFS driver "ntfsmount" (which is completely separate and independent of the kernel driver), part of ntfsprogs, can create and remove files most of the time, and safely fail otherwise.

bioalchemist 02-27-2006 03:10 PM

Quote:

Originally Posted by nguyennh
Have you tested if your Windows partition's filesystem is NTFS ? As I know , octinum is totally correct : kernel only supports NTFS in read-only mode .
If you've done successfully , please show us your experience .

yes, it works on NTFS partitions.

lasalsademuerte 02-27-2006 03:15 PM

haha, I always format my windows partitions with fat32, no need to worry about ntfs, I haven't had a chance to try all these solutions, but I'm sure one will work. Thanks for the help.

octinum 02-28-2006 05:19 AM

As far as I know, kernel ntfs driver could overwrite existing files if file size is exactly the same. ntfsmount tool seems to make sense though; haven't checked this ntfs write thing for a long time...

Let me go and :study: :D

Edit: Where are ntfsprogs Slackware packages(if they exist)? I think I should go compile from source...

TruongAn 02-28-2006 05:25 AM

Really, as I known, linux ntfs driver is unable to create a new file, which means it can edit, remove, overwrite existing file, independent from file size


All times are GMT -5. The time now is 02:53 AM.