I've uninstall the GUI, and I also want to disable automatic login at the command line. I've read that you should use the raspi-config utility to do this. I select the first option and reboot, and it has no effect.
How does one "do this manually"?
Autologin is performed as part of
root@raspberrypi:/etc/systemd/system/getty.target.wants# ls -l total 0 lrwxrwxrwx 1 root root 38 Sep 24 18:14 firstname.lastname@example.org -> /etc/systemd/system/autologin@.service
raspi-config simply manipulates this symlink. To switch to manual login, execute (as root):
ln -fs /lib/systemd/system/getty@.service \ /email@example.com
To switch back to automatic login, do:
ln -fs /etc/systemd/system/autologin@.service \ /firstname.lastname@example.org
I wanted a system with no console prompt on
tty1, so I removed this symlink altogether.