Bùi Văn Mạnh

SHELL SCRIPTS

 curl -fsSL https://manhavn.github.io/SHELL-SCRIPTS/install-bash-autosuggestions.sh | bash
 curl -fsSL https://manhavn.github.io/SHELL-SCRIPTS/install-zsh-autosuggestions.sh | bash
 sudo -i
 passwd root
 #[sudo] password for linuxconfig:
 #Enter new UNIX password:
 #Retype new UNIX password:
 #passwd: password updated successfully
 #sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
 #sudo service ssh restart

 echo "PermitRootLogin yes" | tee /etc/ssh/sshd_config.d/allow-root-login.conf
 echo "PermitRootLogin yes" | sudo tee /etc/ssh/sshd_config.d/allow-root-login.conf