Skip to content

/boot/userconf changes boot  #2

Description

@LazeMSS

I tried many times now to make a headless RPI boot and setting the user and password using the new /boot/userconf.

And it works great except for one thing - it always set the login default to automatic text login.
I don't think this is the expected behavior.

In my "image" i remove /etc/systemd/system/getty@tty1.service.d/autologin.conf and run systemctl --quiet set-default multi-user.target
, but the problem seems to be that when the userconf-service is handling the userconf - the flow seems to be like this:

Userconf-service get to this line (which is rename but also set the new password):

Which then will hit this:

Which again will hit this:

Thereby calling raspi-config to set it to B2 Console Autologin

Im not sure why renaming the username or/and setting the password should cause any changes to the login behavior but I might be missing something

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions