Commit a4731dcb authored by Christian Rebischke's avatar Christian Rebischke
Browse files

lock root account via setting an invalid password

parent b7bfe15c
......@@ -94,6 +94,9 @@ sed -i -e 's/^GRUB_TIMEOUT=.*$/GRUB_TIMEOUT=1/' /etc/default/grub
sed -i -e 's/^GRUB_CMDLINE_LINUX=.*$/GRUB_CMDLINE_LINUX="net.ifnames=0"/' /etc/default/grub
grub-mkconfig -o /boot/grub/grub.cfg
# lock root account
usermod -p "*" root
if declare -f post >/dev/null; then
post
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment