U
U
unbelieve2022-04-06 08:31:18
linux
unbelieve, 2022-04-06 08:31:18

How to autologin in Linux without asking for a password?

what we have: vps with arch linux installed manually.
what you need: so that after switching on / reboot there is an auto-login under the login I need.
what I already did: everything I found on the Internet and wikis on the subject of autologin. Autologin is blocked by asking for a password.
I need the system to fully boot up and start working. Setting an empty password is not an option.

I would be grateful for answers on the topic of the question.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AlexVWill, 2022-04-06
@AlexVWill

vps with manually installed arch linux

after enabling / rebooting, there was an auto-login under the login I needed

I hope you're joking now, right?
If you have access by key, then just do not put a password on the key (this certainly reduces security, but at least something), and in /etc/ssh/sshd_config enable the option 'PasswordAuthentication no'

D
Drno, 2022-04-06
@Drno

Based on the answers - because you need to connect not via vnc, to a server, but via ssh to the console)
Autologin is of course unnecessary if this is not some kind of machine that should, after starting, run some thread of a presentation or video on the screen

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question