Knowledge Base
Authentication is disabled (development mode).

execute script as sudo without password if hash matches

Edit

check execute hash nopasswd password passwordless script sha256 sha256sum sudo sudoers test verify visudo without

sudo EDITOR=nano visudo

/etc/sudoers:

username ALL = NOPASSWD:sha256:ed6059aca73e1c1431c9b9622deeda5b646d69e99868ad57c6445665d8c7218d /path/to/script