Update 'debian-setup.sh'

This commit is contained in:
Newnius 2023-08-30 15:17:10 +00:00
parent 74b1d45e9e
commit da8cba13d7

View File

@ -68,7 +68,7 @@ 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
# username ALL=(ALL:ALL) NOPASSWD:ALL
# update root password to random and forget it