Update 'debian-setup.sh'

This commit is contained in:
Newnius 2022-07-02 11:43:46 +00:00
parent 5d54b590c3
commit 449af6f43a

View File

@ -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"