Added autologin

This commit is contained in:
Tibo De Peuter 2022-04-16 21:45:50 +02:00 committed by GitHub
parent 9cf1d80394
commit 34210cef00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

7
temp
View file

@ -53,12 +53,19 @@ HOOKS=(base udev autodetect modconf block lvm2 filesystems keyboard fsck)
# pacman -S grub efibootmgr # pacman -S grub efibootmgr
# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB # grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
# vim /etc/default/grub # vim /etc/default/grub
GRUB_TIMEOUT=0
GRUB_PRELOAD_MODULES="part_gpt part_msdos lvm" GRUB_PRELOAD_MODULES="part_gpt part_msdos lvm"
# grub-mkconfig -o /boot/grub/grub.cfg # grub-mkconfig -o /boot/grub/grub.cfg
# useradd -m -G wheel tdpeuter # useradd -m -G wheel tdpeuter
# passwd 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 # pacman -S sudo
# visudo # visudo
%wheel ALL=(ALL:ALL) ALL [uncomment this] %wheel ALL=(ALL:ALL) ALL [uncomment this]