Monday, October 21, 2013

Change your Windows Domain password from Linux or OSX

GUI method

Login via RDP and press CTRL+ALT+DEL (FN+CTRL+ALT+DELETE on a MAC OSX) and get the menu to change the password.

CLI method

Samba is all you need:
$ smbpasswd -U myUser -r domain.controller.sample.com
In case you do not have smbpasswd available in OSX should I remind brew can help?
$ brew install samba
Here is one typical error you might get if the password does not meet system necessities:
machine dckr5.krco.com rejected the password change: Error was : Password restriction.

No comments:

Followers