Archived - 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.
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.