1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-09 04:01:33 -05:00

Remove unnecessary command

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-06-01 15:17:32 -07:00
parent 3cfdbc422c
commit 65e6dcb581
Signed by: Tomster
GPG Key ID: 555C902A34EC968F

View File

@ -374,7 +374,7 @@ unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/m
sed -i 's/nullok//g' /mnt/etc/pam.d/system-auth sed -i 's/nullok//g' /mnt/etc/pam.d/system-auth
# Harden SSH # Harden SSH
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/ssh/ssh_config.d/10-custom.conf | sudo tee /mnt/etc/ssh/ssh_config.d/10-custom.conf 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
## Disable coredump ## Disable coredump
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/security/limits.d/30-disable-coredump.conf | tee /mnt/etc/security/limits.d/30-disable-coredump.conf unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/security/limits.d/30-disable-coredump.conf | tee /mnt/etc/security/limits.d/30-disable-coredump.conf
@ -475,7 +475,6 @@ systemctl enable apparmor --root=/mnt
systemctl enable chronyd --root=/mnt systemctl enable chronyd --root=/mnt
systemctl enable firewalld --root=/mnt systemctl enable firewalld --root=/mnt
systemctl enable fstrim.timer --root=/mnt systemctl enable fstrim.timer --root=/mnt
systemctl enable gdm.service --root=/mnt
systemctl enable grub-btrfsd.service --root=/mnt systemctl enable grub-btrfsd.service --root=/mnt
systemctl enable NetworkManager --root=/mnt systemctl enable NetworkManager --root=/mnt
systemctl enable reflector.timer --root=/mnt systemctl enable reflector.timer --root=/mnt