Added autologin
This commit is contained in:
parent
9cf1d80394
commit
34210cef00
1 changed files with 7 additions and 0 deletions
7
temp
7
temp
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue