From b44c8046e9daadfe3dd8a6c6db372ff6b368d479 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 1 Jun 2024 15:41:17 -0700 Subject: [PATCH] Allow SSH password auth by default Signed-off-by: Tommy --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index ccca841..07e7e64 100644 --- a/install.sh +++ b/install.sh @@ -378,6 +378,7 @@ sed -i 's/nullok//g' /mnt/etc/pam.d/system-auth unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/ssh/ssh_config.d/10-custom.conf | tee /mnt/etc/ssh/ssh_config.d/10-custom.conf unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/ssh/sshd_config.d/10-custom.conf | tee tee /mnt/etc/ssh/sshd_config.d/10-custom.conf +sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /mnt/etc/ssh/sshd_config.d/10-custom.conf mkdir -p /etc/systemd/system/sshd.service.d/ unpriv curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/local.conf | tee /mnt/etc/systemd/system/sshd.service.d/override.conf