This is how to change your Windows (Active Directory) password from a Linux system.
First make sure you have “smbpasswd” installed. If not, install the “samba-common” package via YUM.
The command to change your password is:
smbpasswd -r dc.example.com
The above specifies the domain controller that you want to change the password on. You’ll need to enter your old password once and then your new password twice.