fix missing grub parameter

This commit is contained in:
2025-08-01 21:37:34 +02:00
parent 6665d27d17
commit e5c9f01f0d

View File

@@ -19,7 +19,7 @@ chown -R sysadmin:admins /home/sysadmin/.ssh
echo -e "${GREEN}Switching to LTS Kernel...${NOCOL}"
pacman --noconfirm -S linux-lts linux-lts-headers
pacman --noconfirm -Rs linux
grub-mkconfig /boot/grub/grub.cfg
grub-mkconfig -o /boot/grub/grub.cfg
echo -e "${GREEN}Disable root user SSH access...${NOCOL}"
sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config