From 34210cef009292098fd92de0b78784e8b01150f4 Mon Sep 17 00:00:00 2001 From: MrFortem Date: Sat, 16 Apr 2022 21:45:50 +0200 Subject: [PATCH] Added autologin --- temp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/temp b/temp index e83fa1e..3a19b1b 100644 --- a/temp +++ b/temp @@ -53,12 +53,19 @@ HOOKS=(base udev autodetect modconf block lvm2 filesystems keyboard fsck) # pacman -S grub efibootmgr # grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB # vim /etc/default/grub +GRUB_TIMEOUT=0 GRUB_PRELOAD_MODULES="part_gpt part_msdos lvm" # grub-mkconfig -o /boot/grub/grub.cfg # useradd -m -G wheel tdpeuter # passwd tdpeuter +# sudo mkdir -p /etc/systemd/system/getty@tty1.service.d +# sudo vim /etc/systemd/system/getty@tty1.service.d/autologin.conf +[Service] +ExecStart= +ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin tdpeuter - $TERM + # pacman -S sudo # visudo %wheel ALL=(ALL:ALL) ALL [uncomment this]