Archived - OS X Lion: Unable to use Terminal command smbpasswd

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


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.


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.

Additional Information

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.
Last Modified: Sep 18, 2014
  • Last Modified: Sep 18, 2014
  • Article: TS4311
  • Views:

  • Rating:
    • 20.0

    (1 Responses)

Additional Product Support Information

Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked