From b1440338360bde85721a84e81a713625932f7111 Mon Sep 17 00:00:00 2001 From: dixtdf <106577535+dixtdf@users.noreply.github.com> Date: Thu, 4 May 2023 14:45:03 +0800 Subject: [PATCH] Update initos.sh --- initos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initos.sh b/initos.sh index 899abae..bdf15bd 100644 --- a/initos.sh +++ b/initos.sh @@ -11,7 +11,7 @@ echo \ "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null apt-get update -apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin +apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config systemctl restart sshd cp /etc/pam.d/gdm-password /etc/pam.d/gdm-password.bak