ubuntu make a user sudoer code example Example: add user to sudoers echo "username ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/username