mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Update easy-arch.sh
This commit is contained in:
parent
20ae7c7a60
commit
d55614671e
1 changed files with 0 additions and 10 deletions
10
easy-arch.sh
10
easy-arch.sh
|
|
@ -197,16 +197,6 @@ arch-chroot /mnt /bin/bash -e <<EOF
|
|||
echo "Creating GRUB config file."
|
||||
grub-mkconfig -o /boot/grub/grub.cfg &>/dev/null
|
||||
|
||||
#Security kernel settings
|
||||
echo "kernel.kptr_restrict = 2" > /etc/sysctl.d/51-kptr-restrict.conf
|
||||
echo "kernel.kexec_load_disabled = 1" > /etc/sysctl.d/51-kexec-restrict.conf
|
||||
echo << EOF >> /etc/sysctl.d/10-security.conf
|
||||
fs.protected_hardlinks = 1
|
||||
fs.protected_symlinks = 1
|
||||
net.core.bpf_jit_harden = 2
|
||||
kernel.yama.ptrace_scope = 3
|
||||
EOF
|
||||
|
||||
EOF
|
||||
|
||||
# Setting root password.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue