give sudo permissions to user ubuntu code example Example: give sudo permission to vim ubuntu chmod 777 *