LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 02-25-2006, 08:41 PM   #1
lasalsademuerte
Member
 
Registered: Jan 2003
Distribution: Slackware 9.1
Posts: 54

Rep: Reputation: 15
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.
 
Old 02-25-2006, 09:38 PM   #2
aznboi12321
Member
 
Registered: Feb 2005
Location: Sharon,MA
Distribution: Fedora Core 3, Damn Small Linux 0.93, Ubuntu 5.10, Mandrake 10.1 Official, Linspire 4.5, SuSE 10.0
Posts: 77

Rep: Reputation: 15
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
 
Old 02-25-2006, 09:42 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,185

Rep: Reputation: 285Reputation: 285Reputation: 285
Have you tried just leaving pass blank and pressing enter? Happened to a friend of mine.
 
Old 02-25-2006, 09:51 PM   #4
octinum
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 35

Rep: Reputation: 15
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?
 
Old 02-26-2006, 10:04 PM   #5
bioalchemist
Member
 
Registered: Oct 2005
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
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/
 
Old 02-26-2006, 10:10 PM   #6
nguyennh
Member
 
Registered: Feb 2006
Location: Vietnam
Distribution: FC , RH , SuSE
Posts: 106

Rep: Reputation: 15
Question 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 .
 
Old 02-27-2006, 01:10 AM   #7
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 47
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.

Last edited by spooon; 02-27-2006 at 03:46 AM.
 
Old 02-27-2006, 03:02 AM   #8
nguyennh
Member
 
Registered: Feb 2006
Location: Vietnam
Distribution: FC , RH , SuSE
Posts: 106

Rep: Reputation: 15
Thanks for your info . I'm going to recompile kernel to support NTFS on read-write .
 
Old 02-27-2006, 03:35 AM   #9
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 725

Rep: Reputation: 33
There is a lot of rumours that there is no safe to write on NTFS from linux. How do you think?
 
Old 02-27-2006, 03:50 AM   #10
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 47
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.
 
Old 02-27-2006, 03:10 PM   #11
bioalchemist
Member
 
Registered: Oct 2005
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
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.
 
Old 02-27-2006, 03:15 PM   #12
lasalsademuerte
Member
 
Registered: Jan 2003
Distribution: Slackware 9.1
Posts: 54

Original Poster
Rep: Reputation: 15
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.
 
Old 02-28-2006, 05:19 AM   #13
octinum
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 35

Rep: Reputation: 15
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

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

Last edited by octinum; 02-28-2006 at 05:33 AM.
 
Old 02-28-2006, 05:25 AM   #14
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 725

Rep: Reputation: 33
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
resetting pop3 password matt1982 Debian 1 08-26-2005 09:38 AM
resetting th root password on rh9 hamza11050 Linux - Software 4 09-30-2004 07:21 PM
Resetting Root password lorddecker Linux - Software 4 06-18-2004 02:48 PM
Resetting MySQL root password b200306 Linux - Software 3 02-08-2004 03:21 PM
resetting root password. Reaps^ Linux - Security 1 07-06-2003 03:46 PM


All times are GMT -5. The time now is 08:05 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration