Asks for admin privileges via macOS security dialog and writes in the /etc/sudoers
file this string:
youruser ALL=(ALL) NOPASSWD:ALL
allowing you to execute next sudo
commands without asking for password via terminal.
Remove previous line in the /etc/sudoers
file, resetting file as it was before.