samba user and password management tool
smbpasswd command belongs to the samba suite and can add or delete samba users and change passwords for users.
smbpasswd(options)(parameters)
-a: Add users to the smbpasswd file;
-c: Specify the samba configuration file;
-x: Delete the user from the smbpasswd file;
-d: Disable the specified user in the smbpasswd file;
-e: Activate the specified user in the smbpasswd file;
-n: Leave the password of the specified user blank.
Username: Specify the user who wants to change the SMB password.