1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-12-27 09:12:00 -05:00

Compare commits

..

1 Commits

Author SHA1 Message Date
funk-on-code
609a33e718
Merge 162f026966 into 57d9e1d7bd 2024-08-05 13:01:07 +00:00

View File

@ -467,7 +467,7 @@ sed -i 's/nullok//g' /mnt/etc/pam.d/system-auth
## Arch annoyingly does not split openssh-server out so even desktop Arch will have the daemon.
unpriv curl -s 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 > /dev/null
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/ssh/sshd_config.d/10-custom.conf | tee /mnt/etc/ssh/sshd_config.d/10-custom.conf > /dev/null
unpriv curl -s 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 > /dev/null
sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /mnt/etc/ssh/sshd_config.d/10-custom.conf
mkdir -p /mnt/etc/systemd/system/sshd.service.d/
unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/local.conf | tee /mnt/etc/systemd/system/sshd.service.d/override.conf > /dev/null
@ -507,7 +507,7 @@ unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script
## Setup unbound
if [ "${install_mode}" = 'server' ]; then
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Arch-Setup-Script/main/etc/unbound/unbound.conf | tee /mnt/etc/unbound/unbound.conf > /dev/null
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/unbound/unbound.conf | tee /mnt/etc/unbound/unbound.conf > /dev/null
fi
## Setup Networking
@ -602,7 +602,7 @@ if [ "${install_mode}" = 'desktop' ]; then
fi
if [ "${install_mode}" = 'server' ]; then
systemctl enable sshd --root=/mnt
systemctl enable sshd.socket --root=/mnt
systemctl enable unbound --root=/mnt
fi