diff --git a/debian-setup.sh b/debian-setup.sh index ef93de9..f132324 100644 --- a/debian-setup.sh +++ b/debian-setup.sh @@ -56,6 +56,8 @@ echo $admin_user:$ssh_pass | chpasswd # Add to sudoers sed -i "/$admin_user/d" /etc/sudoers sed -i "/User privilege specification/a $admin_user\tALL=(ALL:ALL) ALL" /etc/sudoers +# username ALL=(ALL) NOPASSWD:ALL + # update root password to random and forget it echo "[INFO] Updating root password to random"