ubuntu change password for another user code example Example: change password from command line in ubuntu sudo passwd <user>