fix missing grub parameter
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user