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