How do I disable and change the user password using SSH on a Linux
Login with the root account, and type:
You have a few options, somewhat dependent on what you mean by "disable". For the purposes of this explanation I will use the string foo as a placeholder for the account name in question.
You cannot disable an account, per se, without deleting it wholesale, however, deactivating the account password
The closest to what I believe to be your objective would be to lock the account,
Another option, although not immediately apparent perhaps, is to delete the account. This will likely be performed with the