From 449af6f43a68b0d0ac4bfacda31ddde823418b3b Mon Sep 17 00:00:00 2001 From: Newnius Date: Sat, 2 Jul 2022 11:43:46 +0000 Subject: [PATCH] Update 'debian-setup.sh' --- debian-setup.sh | 2 ++ 1 file changed, 2 insertions(+) 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"