OS X Lion: Unable to use Terminal command smbpasswd

When attempting to use smbpasswd to change a user's password in Terminal, the command does not work. Instead, the message "smbpasswd: Command not found" appears in Terminal.

This article has been archived and is no longer updated by Apple.

To change a user account password in Lion, open the Users and Groups pane of System Preferences. The Mac must be bound to same domain the user belongs to.

The smbpasswd command line utility is part of Samba, which is not included with Lion or Lion Server.

Important: Information about products not manufactured by Apple is provided for information purposes only and does not constitute Apple’s recommendation or endorsement. Please contact the vendor for additional information.
Published Date: