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