I'm trying to bootstrap Raspberry Pi's by just putting configuration to the "boot"-volume.
My workflow looks like this:
- Flash SD-card with Raspberry Pi OS Lite
- copy these files to "boot"-volume on SD-card:
- config.txt (configure HDMI-mode and similar)
- ssh (enable ssh-server)
- userconf.txt (create a user)
- wpa_supplicant.conf (my wifi configuration)
ssh-copy-idto copy ssh-keys
- do further configuration with Ansible
userconf.txt will create a user as described here: https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-a-user
Unfortunately this user is a auto-login user, even on the CLI (e.g. on a Raspberry Pi OS Lite).
Is there a way to disable the auto-login feature via some entry in
I am not talking about
/etc/lightdm.conf, I'm talking about the Linux shell.