It’s really quite upsetting & a bit scary how ALL the major OS developers & many hardware manufacturers (with a few exceptions- mainly the open source world)) are becoming SO restrictive– ever increasingly!- of their customers (us!), the OWNERS of their devices, on what we can do with & how we can use the products we paid for! I dreading the day when they start selling computers with no administrator rights just like they do with the mobile devices- I’m surprised it hasn’t happened yet. Well said! And thank you for the perspective check & tips. I’m not sure if this is right, but it doesn’t seem that from SU mode you can look at the Recovery partition either, asĬan anyone confirm any of this? Has anyone managed to reset either a user or admin password in SU mode on a Lion install with FV2 enabled? Presumably, they must be in the Recovery partition, otherwise how could FV2 check the passwords on a normal startup? I’m not sure, but I believe the issue is that with FV2 encrypted the accounts password files are not where they would be otherwise. Various dscl command don’t work either, returning the error that /System/Library/ is missing (which is indeed the case). However, attempting to change own or admin passed via Standard user (with restart privileges) restarts in SU mode, unencrypting the disk. Specifically, this scenario: disk is encrypted by Admin when the disk has been encrypted with FV2 This didn’t work for me on single user mode in Lion 10.7.3. You can use the same approach to navigate around a sleep/wake lock screen, although you’ll obviously have to reboot the Mac meaning you will miss whatever is currently on the users desktop. Both work fine though, so you can use whatever method you’d like. This is an easier and faster method than the approach taken for resetting lost passwords or using the Mac OS X boot DVD, because it’s changing an existing root users password rather than creating a new admin user account. The Mac will now boot as usual and you’ll have access to the machine with the new password. The username is what you’ll want to change with the passwd command.Īfter the password is reset and confirmed, you can exit out of Single User Mode by typing exit or reboot. If you’re fixing someones machine and you don’t know the username to reset, just look in /Users with: On the next boot the changed admin password will be usable as anticipated.ĭon’t know the admin username? No problem Or by using the standard manual restart methods of keyboard shortcuts, shutdown, or holding down the power button. Rebooting is possible through the command line by by typing: The password should now change as expected, where you can then reboot and use the admin user account as expected. #3 launchctl load /System/Library/LaunchDaemons/ Note the primary difference is using ‘launchctl’ between mounting the drive and changing the password: If you have issues with the above approach, try the following command sequence with newer versions of Mac OS X. Changing Admin Password in OS X Lion, Mountain Lion, and laterįor users with OS X 10.7.3 and later, including OS X 10.8+ Mountain Lion, there may need to be an additional step to load open directory. That is standard practice in the command line world. Note that a password will not be visibly typed when using the ‘passwd’ command, it looks as if nothing is being entered at all. You’ll need to enter the new password twice to reset and confirm the changes.After the filesystem is mounted, you can reset any users password using the following command:.The next command mounts the root Mac OS X drive as writable, allowing you to make changes to the filesystem:.The first command checks the Mac OS X filesystem for errors and fixes them, it can take a few minutes to run:.You’ll see a note where Mac OS X tells you that you need to run two commands in order to make filesystem changes, this is necessary so let’s handle that first.Reboot the Mac and hold down Command+S at boot to enter into the command line. First you need to enter Single User Mode.This is a multistep process but it’s easy to follow: Change an Admin Password in Mac OS X Single User Mode
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |