Update 'debian-setup.sh'
This commit is contained in:
parent
74b1d45e9e
commit
da8cba13d7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user