All HowTo's Cybersecurity Linux Ubuntu, Mint & Debian Linux

Change an Active Directory password from Linux

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.

Leave a Reply

Your email address will not be published. Required fields are marked *