On ubuntu 22.04
to add your current user to passwordless sudo
echo "useradmin ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/useradmin
No Comments