image
image

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

Reply
 
LinkBack Thread Tools
  #1  
Old April 23rd, 2008, 11:40 PM
Satcomer's Avatar
In Geostationary Orbit
 
Join Date: Jul 2002
Location: Northern Virginia
Posts: 6,959
Thanks: 33
Thanked 176 Times in 171 Posts
Satcomer is a jewel in the roughSatcomer is a jewel in the roughSatcomer is a jewel in the roughSatcomer is a jewel in the rough
[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 (1st gen), 6G Ram, Two DVD-RW Drives, OS X 10.6.1
Mac Book Pro Core 2 Duo 2.16Ghz, SuperDrive, ATI X1600, 2GB RAM, OS X 10.6.1
2TB Time Capsule
32G iPhone 3GS 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, 11: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,477
Thanks: 11
Thanked 25 Times in 22 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!
__________________
find / -name 'nancy pelosi' -exec rm {} ;

rm -rf /System/Library/StartupItems/"${1}"


stockholm syndrome

10 Oct 09 - I just got a new Macbook Pro!

WooHoo!!!
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, 03:32 PM
Registered User
 
Join Date: Aug 2008
Posts: 2
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, 09: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, 09:45 AM
nixgeek's Avatar
Mac of the SubGenius! :-)
 
Join Date: Jan 2004
Location: Miami, FL
Posts: 8,375
Thanks: 29
Thanked 142 Times in 126 Posts
nixgeek is a jewel in the roughnixgeek is a jewel in the roughnixgeek is a jewel in the rough
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.4.11/Ubuntu 9.10
Asus Eee PC 901 (1.6 GHz Atom N270) - Ubuntu Netbook Remix 9.04
Apple Macintosh Quadra 650 (33 MHz MC68040) - Mac OS 8.1
"JHVH-1" (2 GHz AMD Athlon XP 2400+) - Slackware 13
"Kidbuntu" (2.8 GHz Celeron D 335) - Ubuntu 9.04
Reply With Quote
  #6  
Old February 10th, 2009, 03: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, 01: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, 06: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

Forum Jump


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


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.