#!/bin/bash

#Turns off password requirement for sudo commands for all members of the sudo group
echo "%sudo ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

#Here is an example of how you can limit passwordless sudo to just a single user, where admin is the user
#echo "admin ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers