testmac:~ TestUser$ dscl localhost -passwd /Search/Users/TestUser
Historically (in Snow Leopard) you would have needed to enter your existing password first to verify that you in fact are the account holder:
testmac:~ TestUser$ passwd
Changing password for TestUser.
Old Password: -OldPass-
New Password: -NewPass-
Retype New Password: -NewPass-
- Use a secure password to prevent brute force attacks against your account using stolen hashes.
- Enable the screensaver and set it to prompt you for your password.
- Disable automatic logon.
- Never leave your Mac logged in and unattended. Use a "Hot Corner" or the Keychain lock to lock your screen.
For more information and to see the researcher blog post click Here
LINK TO OUR HOME PAGE :