Go Back   Technibble Forums > Operating Systems > Apple Macintosh

  Technibble Sponsor

Reply
 
Thread Tools Display Modes
  #1  
Old 04-23-2012, 09:30 PM
Skillachi's Avatar
Skillachi Skillachi is offline
 
Join Date: Oct 2010
Posts: 172
Skillachi is an unknown quantity at this point
Default Reset Mac Password

Hello folks,



Is there a way to reset a Mac master password without remembering the old one if you forgot what it was? Am not referring to the regular user password.
Reply With Quote
  #2  
Old 04-23-2012, 09:53 PM
anonymous Mac Tech's Avatar
anonymous Mac Tech anonymous Mac Tech is offline
 
Join Date: Apr 2009
Location: Michigan
Posts: 2,512
anonymous Mac Tech has a spectacular aura aboutanonymous Mac Tech has a spectacular aura about
Default

Quote:
Originally Posted by Skillachi View Post
Is there a way to reset a Mac master password without remembering the old one if you forgot what it was? Am not referring to the regular user password.
If you are talking the Filevault master password the answer is the NSA won't even be able to mount the user folder. If the OS is 10.7.x then there are ways to do it by using the Apple ID or if they happened to record the code that was generated when they turned on filevault 2.
__________________
[FONT=Arial]ACMT[/FONT]
Quote:
People fear what they don't understand and hate what they can't conquer. Andrew Smith
Reply With Quote
  #3  
Old 04-23-2012, 10:32 PM
Skillachi's Avatar
Skillachi Skillachi is offline
 
Join Date: Oct 2010
Posts: 172
Skillachi is an unknown quantity at this point
Default

Quote:
Originally Posted by anonymous Mac Tech View Post
If you are talking the Filevault master password the answer is the NSA won't even be able to mount the user folder. If the OS is 10.7.x then there are ways to do it by using the Apple ID or if they happened to record the code that was generated when they turned on filevault 2.
I know its possible change a single user password using theses commands by

Holding Down Apple+ S when booting into single user mode

#sh /etc/rc
#password yourusername
#reboot

but you would not have access to the other accounts on the system or the master password to install programs when ask for the master password. So am guessing there is no way to install programs like skype without the master password?

Or how would the keyring be affected?

Last edited by Skillachi; 04-23-2012 at 10:37 PM.
Reply With Quote
  #4  
Old 04-24-2012, 01:19 PM
anonymous Mac Tech's Avatar
anonymous Mac Tech anonymous Mac Tech is offline
 
Join Date: Apr 2009
Location: Michigan
Posts: 2,512
anonymous Mac Tech has a spectacular aura aboutanonymous Mac Tech has a spectacular aura about
Default

Quote:
Originally Posted by Skillachi View Post
I know its possible change a single user password using theses commands by

Holding Down Apple+ S when booting into single user mode

#sh /etc/rc
#password yourusername
#reboot

but you would not have access to the other accounts on the system or the master password to install programs when ask for the master password. So am guessing there is no way to install programs like skype without the master password?

Or how would the keyring be affected?
I think you have Master password and admin password mixed up. There really is a big difference between the two. So, which do you need?

If you need to change the admin password the method for doing so depends on what version of OSX.
__________________
[FONT=Arial]ACMT[/FONT]
Quote:
People fear what they don't understand and hate what they can't conquer. Andrew Smith
Reply With Quote
  #5  
Old 04-26-2012, 05:54 PM
Skillachi's Avatar
Skillachi Skillachi is offline
 
Join Date: Oct 2010
Posts: 172
Skillachi is an unknown quantity at this point
Default

I need the master password not the admin
Reply With Quote
  #6  
Old 04-26-2012, 06:05 PM
andyroe208 andyroe208 is offline
 
Join Date: Mar 2012
Location: Nottingham, UK
Posts: 59
andyroe208 is an unknown quantity at this point
Default

Not sure if this would help

First, turn off "FileVault" on any and all accounts created while the current "master password" has been in effect. This may take some time, and requires sufficient free space on the hard drive.

The "master password" is associated with the "FileVaultMaster.keychain" and "FileVaultMaster.cer" in the computer's main "/Library/Keychains" folder. If these files are removed, the system will think that a "master password" has not been set. It might be a good idea to keep the files backed up somewhere if you happen to have any backups of old "FileVault" sparse images somewhere, in case you need to get in to them and happen to remember the old "master password" at some point.

Anyway, after removing those files, it should be possible to set a new "master password" from the "Security" pref pane. If "FileVault" is subsequently turned on, the disk images will be created, incorporating the new "master password".

Just to emphasize, the key is that any existing disk images will not be associated with the new password so that is why it is important to turn off "FileVault" for any pre-existing "FileVault" accounts, then to turn it back on only after the new password is in place.

The above applied to Panther and Tiger, but I should mention that I haven't tested it personally under Leopard.
Reply With Quote
  #7  
Old 04-26-2012, 09:45 PM
anonymous Mac Tech's Avatar
anonymous Mac Tech anonymous Mac Tech is offline
 
Join Date: Apr 2009
Location: Michigan
Posts: 2,512
anonymous Mac Tech has a spectacular aura aboutanonymous Mac Tech has a spectacular aura about
Default

Quote:
Originally Posted by andyroe208 View Post
Not sure if this would help

First, turn off "FileVault" on any and all accounts created while the current "master password" has been in effect. This may take some time, and requires sufficient free space on the hard drive.
But the thing is if you don't know the master password you can't turn off filevault.
__________________
[FONT=Arial]ACMT[/FONT]
Quote:
People fear what they don't understand and hate what they can't conquer. Andrew Smith
Reply With Quote
  #8  
Old 04-26-2012, 09:50 PM
andyroe208 andyroe208 is offline
 
Join Date: Mar 2012
Location: Nottingham, UK
Posts: 59
andyroe208 is an unknown quantity at this point
Default

Of course you are correct there. I don't really get that many Macs to repair so I wasn't sure if you could turn it off without, it makes sense that you can't however the rest should still apply although not sure as this hasn't been tested on the latest software, delete the files and you should be able to set a new one
Reply With Quote
  #9  
Old 04-26-2012, 10:01 PM
nightkingdoms's Avatar
nightkingdoms nightkingdoms is online now
 
Join Date: Apr 2011
Location: Arizona
Posts: 597
nightkingdoms will become famous soon enough
Default

Yes, to reset the master password you just delete FileVaultKeychain.keychain in Library/Keychains/.

To reset a user/admin password, you follow this (just in case someone comes across this thread later and needs it):

1. Shut down your computer
2. Turn on your computer while pressing Command+S
3. You will see command line. Do not be worried.
4. Type in /sbin/mount -uw /
5. Type in launchctl load /System/Library/LaunchDaemons/com.Apple.DirectoryServices.plist
6. Type in dscl . -passwd /Users/username password
7. Replace username with the Account Holder's First Name and password with the password you want it
to be.
8. Type in exit.
9. At the log on screen go ahead and log on with your new password.
10. You've just recovered your administrator password.

If it's Lion, replace #5 with this:
launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 12:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Technibble.com is based out of MELBOURNE, AUSTRALIA.