Skip to content
Snippets Groups Projects
Commit 52503de8 authored by Zdenek Vydra's avatar Zdenek Vydra
Browse files

GRUB_TIMEOUT set to 0

parent 4d6a80aa
No related branches found
No related tags found
No related merge requests found
#!/bin/bash -x
# set GRUB_TIMEOUT to 0
sudo sed -i "s/^GRUB_TIMEOUT=[0-9]*/GRUB_TIMEOUT=0/" /etc/default/grub
sudo update-grub
# disable ssh root login using password
sed -i 's/#\?PermitRootLogin.*/PermitRootLogin without-password/g' /etc/ssh/sshd_config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment