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