LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-16-2006, 06:39 AM   #1
kniwor
Member
 
Registered: Aug 2005
Distribution: Slackware 12
Posts: 106

Rep: Reputation: 15
windows admin pass


k, so i got a lot of machines here with dual boot, slackware and windows, but the machines hardly ever see windows, exept for sometimes when it's needed, and when it is needed, i discover that almost always i have to reset the password because i forget the admin pass, i never forget the root password though, because i use it often, the irony is use boot CD's based on linux, so is there a tool i can install in my linux partition so that i can reset my windows thing when i need, i dont want to write down the windows password, and i dont want to keep same password for all machines, and inspite of my best efforts i cant seem to remember them when i need.
 
Old 09-16-2006, 09:35 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
I am not sure you can do anything of this sort, if you cant remember passwords.
although you could try creating a sam file in windows which uses the password admin, hopefully you wont forget that. you could simply change a user password and boot into linux, use ntfs-mount (linux-ntfs.sf.net) and mount ntfs hdd and keep a backup of the file.
never tried it, but theoritically sounds good.
 
Old 09-16-2006, 02:08 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Have a look through the info at http://www.petri.co.il/forgot_admini...r_password.htm - it looks as though you're not the only one to ever do this
 
Old 09-16-2006, 06:34 PM   #4
kookie
LQ Newbie
 
Registered: Jan 2006
Posts: 21

Rep: Reputation: 15
Try chntpw for unix.
Just mount the windows partition and run the application.
so the command would be

List the users in the SAM file
Code:
sudo chntpw -l /mnt/<windows_partition>/windows/system32/config/SAM
Rest password for user
Code:
sudo chntpw -u <user> /mnt/<windows_partition>/windows/system32/config/SAM
Remember to mount the drive with read-write access and always use a blank password for the administator password as this works best. Use a * to achieve this.

Hope this helps.
 
Old 09-17-2006, 02:08 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Try reglookup. It should allow you to read the registry.

http://distro.ibiblio.org/pub/linux/...glookup-0.1.2/

http://distro.ibiblio.org/pub/linux/...1.2-i486-1.tgz

Last edited by gnashley; 09-17-2006 at 02:12 AM.
 
Old 09-17-2006, 11:31 PM   #6
kniwor
Member
 
Registered: Aug 2005
Distribution: Slackware 12
Posts: 106

Original Poster
Rep: Reputation: 15
@gilead
i dont think getting password is my concern, i can just push in thee windows install CD and do it, but i need it to be easy, and from linux, just for the "cool" thing.

chntpw lookg good, i'll try it today...

@gnashley
how does reading registry help me reset password. anyhow that tool seems useful though.
 
Old 09-18-2006, 12:35 PM   #7
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Reglookup lets you search the registry from Linux and find what the password is. Then you know what it is in order to login under windows.
 
Old 09-20-2006, 05:15 PM   #8
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
Resetting XP passwords with chntpw may results in NTFS-filesystem damage. Low risk, but possible... So if you have important data on the system I'd suggest just to crack the password/s with
http://www.studenti.unina.it/~ncuomo/syskey/
and then this
http://www.openwall.com/john/
Those tools are available on Auditor live cd as well, if you want to keep using the live disk method.
Ciao
 
Old 09-20-2006, 08:04 PM   #9
kookie
LQ Newbie
 
Registered: Jan 2006
Posts: 21

Rep: Reputation: 15
There is very little almost no damage that i have experianced when changing the password. As long as you don't set a password and just make administrator with a blank password you are fine. Only if you start setting a password with chntpw you start to experiance errors and possible file corruption.

Cracking the password could take a long time to do if the password is complex. Its alot simplier to blank the admin password. just my 2 cents
 
Old 09-20-2006, 08:27 PM   #10
dogged28
Member
 
Registered: Jul 2006
Location: Lubbock, Tx.
Distribution: Ubuntu Dapper Drake
Posts: 184

Rep: Reputation: 30
i've always just blanked them. works best with little to no risk to the partition. my friends are always forgetting there passwords so i get to play.
 
Old 09-21-2006, 02:33 AM   #11
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Why not set the admin pwd of each box the same as root pwd (as you don't seem to forget the latter).

I use the same passwords for root and administrator on all my boxes (you don't want that) so I don't have to worry.

Last edited by Wim Sturkenboom; 09-21-2006 at 02:37 AM.
 
Old 09-21-2006, 09:05 AM   #12
dogged28
Member
 
Registered: Jul 2006
Location: Lubbock, Tx.
Distribution: Ubuntu Dapper Drake
Posts: 184

Rep: Reputation: 30
i know this is unsafe but i still do it. i have three main passwords that i use for alot of stuff. with windows i know if i get the password wrong i have 2 more chances before the lockout sets in. there is nothing wrong with writing your passwords down, just where you store or keep the list. i know an admin that has a four page list he keeps locked in a safe, if he cant' remember the passsword, he just opens the safe and verifys it. he is also the only one wiht the combination. and like his backups, another copy is kept locked up offsite. kinda extreme i know. but it works for him.
 
Old 09-21-2006, 07:55 PM   #13
kniwor
Member
 
Registered: Aug 2005
Distribution: Slackware 12
Posts: 106

Original Poster
Rep: Reputation: 15
things can be done, but isin't this easier than other solutions, and this makes me less dependednt on other things, and more on linux.

i cant keep same pass because i need people to have windows password, but dont want everyone to have linux acess, now many times i can even ask them the password, but why should i roam around the whole world asking for password when i am the admin, i can just reset it in a second.
 
Old 09-22-2006, 12:13 AM   #14
kookie
LQ Newbie
 
Registered: Jan 2006
Posts: 21

Rep: Reputation: 15
So how did you go with chntpw?
did that work for you?
 
Old 09-22-2006, 11:01 AM   #15
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
The ophtcrack livecd usually finds all windows passwords very quickly
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgot only admin pass, having trouble booting recovery programs rocco General 5 12-22-2005 12:04 PM
Forgot only admin pass, having trouble booting recovery programs rocco Linux - General 2 12-21-2005 08:24 PM
What is the admin pass for the SuSE live CD? Aphex_Twin2 SUSE / openSUSE 0 05-03-2005 12:05 PM
problem regarding on admin and root pass glacier1985 Linux - Newbie 5 07-13-2003 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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