mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-12-03 22:51:33 -05:00
Compare commits
3 Commits
aec5c8169a
...
9ebaf176b3
Author | SHA1 | Date | |
---|---|---|---|
|
9ebaf176b3 | ||
|
9d9c42c414 | ||
cffea037c4 |
@ -438,7 +438,7 @@ if [ "${use_luks}" = '1' ]; then
|
||||
fi
|
||||
|
||||
## 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
|
||||
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
|
||||
@ -447,7 +447,7 @@ fi
|
||||
|
||||
## 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/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
|
||||
sed -i 's/nullok//g' /mnt/etc/pam.d/system-auth
|
||||
|
Loading…
Reference in New Issue
Block a user