I'm a single user on my laptop and I want username to be automatically entered when trying to login to TTY1. I use Arch Linux.
For example:
- Turn on computer
- Linux boots
- I enter password
- I'm logged in at TTY1 and proceed to do my work
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityI've done some research. I just needed to enter systemctl edit getty@tty1
:
[Service]
ExecStart=
ExecStart=-/sbin/agetty -n -o username %I
After that, just type: systemctl enable getty@tty1
and that should be it.
For more information there is: https://wiki.archlinux.org/index.php/Getty