-
Notifications
You must be signed in to change notification settings - Fork 28
run_qemu.sh: add autologin with shadow login (Ubuntu) #171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Works for me on 24.10, @ikitayama can you try? On Ubuntu 24.04 this saves only half the time: login is required but not the password. |
@marc-hb I cherry-picked your commit, but I get still asked the password (Yes, I started with the script with the -r wipe option). |
Do you get prompted only for the password, not the user account? What is the output of the After login, can you check /etc/pam.d/login* and make sure they are as expected by this PR? Finally, it would be great if you could run:
... in another terminal and observe while entering your password on the serial terminal. |
ce1df5a
to
9647612
Compare
Note this still requires agetty > 2.39 and works only with Ubuntu 24.10 and above, see pmem#169 for details. Signed-off-by: Marc Herbert <[email protected]>
This has been working very well for me and at worst it made no difference to @ikitayama so I think this is OK to merge @stellarhopper |
Ah sorry, I wasn't sure if there was any testing pending. Looks good to me! |
mkosi versions v15 and above need a lot more explicit Packages= like "?priority(important)" and "task ssh-server". mkosi v15 changed everything, see systemd/mkosi#1971 Missing packages caused a lot of issues like pmem#168, pmem#171, pmem#199 and maybe others. Signed-off-by: Marc Herbert <[email protected]>
mkosi versions v15 and above need a lot more explicit Packages= like "?priority(important)" and "task ssh-server". mkosi v15 changed everything, see systemd/mkosi#1971 Missing packages caused a lot of issues like #168, #171, #199 and maybe others. Signed-off-by: Marc Herbert <[email protected]>
Note this still requires agetty > 2.39 and works only with Ubuntu 24.10 and above, see #169 for details.