1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-12-04 15:01:34 -05:00

Compare commits

..

3 Commits

Author SHA1 Message Date
funk-on-code
9ebaf176b3
Merge f0d50359de into 9d9c42c414 2024-08-27 15:49:56 -07:00
funk-on-code
9d9c42c414
Fix chronyd configuration location (#48)
Signed-off-by: funk-on-code <113871227+funk-on-code@users.noreply.github.com>
2024-08-25 19:11:56 -07:00
cffea037c4
Update kernel module blacklist URL
Fixes #46 

Signed-off-by: Tommy <contact@tommytran.io>
2024-08-09 15:36:05 -07:00

View File

@ -438,7 +438,7 @@ if [ "${use_luks}" = '1' ]; then
fi fi
## Continue kernel hardening ## Continue kernel hardening
unpriv curl -s https://raw.githubusercontent.com/secureblue/secureblue/live/files/system/usr/etc/modprobe.d/blacklist.conf | tee /mnt/etc/modprobe.d/blacklist.conf > /dev/null unpriv curl -s https://raw.githubusercontent.com/secureblue/secureblue/live/files/system/etc/modprobe.d/blacklist.conf | tee /mnt/etc/modprobe.d/blacklist.conf > /dev/null
if [ "${install_mode}" = 'server' ]; then if [ "${install_mode}" = 'server' ]; then
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/sysctl.d/99-server.conf | tee /mnt/etc/sysctl.d/99-server.conf > /dev/null unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/sysctl.d/99-server.conf | tee /mnt/etc/sysctl.d/99-server.conf > /dev/null
else else
@ -447,7 +447,7 @@ fi
## Setup NTS ## Setup NTS
unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf | tee /mnt/etc/chrony.conf > /dev/null unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf | tee /mnt/etc/chrony.conf > /dev/null
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/sysconfig/chronyd | tee /etc/sysconfig/chronyd > /dev/null unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/sysconfig/chronyd | tee /mnt/etc/sysconfig/chronyd > /dev/null
## Remove nullok from system-auth ## Remove nullok from system-auth
sed -i 's/nullok//g' /mnt/etc/pam.d/system-auth sed -i 's/nullok//g' /mnt/etc/pam.d/system-auth