image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
LinkBack Thread Tools
  #1  
Old April 23rd, 2008, 10:40 PM
Satcomer's Avatar
In Geostationary Orbit
 
Join Date: Jul 2002
Location: Northern Virginia
Posts: 8,499
Thanks: 51
Thanked 359 Times in 343 Posts
Satcomer is just really niceSatcomer is just really niceSatcomer is just really niceSatcomer is just really niceSatcomer is just really nice
[HOWTO] Reset User Password via single user mode

Read this MacOSXHint on how to reset your 10.5 password via the single user mode.

Quote:
1. Boot into single user mode (press Command-S at power on)
2. Type fsck -fy
3. Type mount -uw /
4. Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
5. Type dscl . -passwd /Users/username password, replacing username with the targeted user and password with the desired password.
6.Reboot

This allows you to reset the password in single user mode without booting from the install media.
__________________
Mac Pro Dual 2.8 Quad (2st gen), 14G Ram, Two DVD-RW Drives, OS X 10.7.4
2006 Mac Book Pro 2.16 (first Gen) OS X 10.7.4
2010 Mac Mini, 8G, SuperDrive, OS X 10.7.4
2TB Time Capsule, 2 TB
32G iPhone 4S Black, iPad (3rd Gen) 32G Black
Reply With Quote
The Following 4 Users Say Thank You to Satcomer For This Useful Post:
empress (January 10th, 2009), Giaguara (October 22nd, 2008), kate maindonald (March 10th, 2009), ora (November 16th, 2008)
  #2  
Old July 26th, 2008, 10:46 PM
g/re/p's Avatar
I can haz cigar?
 
Join Date: Mar 2003
Location: sitting on a cornflake, waiting for the van to come
Posts: 1,633
Thanks: 23
Thanked 40 Times in 34 Posts
g/re/p has a spectacular aura aboutg/re/p has a spectacular aura about
Cool hack! And one more reason to block single user mode by setting a firmware password if you use a mac at work!
__________________
#!/bin/ksh
find / -name 'barak obama' -exec rm {} ;
rm -rf /System/Library/StartupItems/"${1}" ;
echo GTFO in 2012!



Stockholm Syndrome
Reply With Quote
The Following User Says Thank You to g/re/p For This Useful Post:
chevy (August 8th, 2009)
  #3  
Old August 26th, 2008, 02:32 PM
Registered User
 
Join Date: Aug 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
dbash is on a distinguished road
Thank you very much, but when I boot I hear the chime and then nothing but a black screen.
Reply With Quote
  #4  
Old August 27th, 2008, 08:29 AM
Registered User
 
Join Date: Aug 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
whisky1980 is on a distinguished road
says command not found when i type passwd somebody please help..!
Reply With Quote
  #5  
Old August 27th, 2008, 08:45 AM
nixgeek's Avatar
Mac of the SubGenius! :-)
 
Join Date: Jan 2004
Location: Miami, FL
Posts: 8,593
Thanks: 32
Thanked 157 Times in 141 Posts
nixgeek is just really nicenixgeek is just really nicenixgeek is just really nicenixgeek is just really nice
Quote:
Originally Posted by whisky1980 View Post
says command not found when i type passwd somebody please help..!
Check your thread for my response.
help resetting password!
__________________
Apple iMac G5 17" (2 GHz G5) - Mac OS X 10.5.8/Ubuntu 10.04
Asus Eee PC 901 (1.6 GHz Atom N270) - Fedora 13
Apple Macintosh Quadra 650 (33 MHz MC68040) - Mac OS 8.1
"JHVH-1" (2 GHz AMD Athlon XP 2400+) - Slackware 13.1
Reply With Quote
  #6  
Old February 10th, 2009, 02:29 PM
Registered User
 
Join Date: Feb 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Flondrixa is on a distinguished road
instead of typing
dscl . -passwd /Users/username password
just type
passwd /Users/username password
thats what worked for me.
Reply With Quote
  #7  
Old February 24th, 2009, 12:41 PM
Registered User
 
Join Date: Feb 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
sheraz4u is on a distinguished road
depends on the operating u use

single user mode reset password:leopard
mount -uw /
ls /users
passwd (user's name)
(enter the password cannot be seen)
reboot


------

single user mode change password tiger

1. mount -uw /
2. sh /etc/rc
3. ls /users
4. passwd (user name)
Reply With Quote
  #8  
Old April 5th, 2009, 05:23 PM
Registered User
 
Join Date: Feb 2006
Location: East Central Florida
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
bertnspike is on a distinguished road
Quote:
Originally Posted by sheraz4u View Post
single user mode reset password:leopard
mount -uw /
ls /users
passwd (user's name)
(enter the password cannot be seen)
reboot


------

single user mode change password tiger

1. mount -uw /
2. sh /etc/rc
3. ls /users
4. passwd (user name)
I'm sorry, but I don't understand you at all. I bought a used mac laptop. The person I bought it from doesn't remember the password, so I can't install any new software or make myself the administrator. What can I do?
Reply With Quote
Reply

Bookmarks

Thread Tools

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 Off
Refbacks are Off



All times are GMT -5. The time now is 09:08 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Copyright 2000-2010 DigitalCrowd, Inc.