Skip to content
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

Root autologin is enabled with systemd #3

Open
citruspress opened this issue Aug 23, 2024 · 0 comments
Open

Root autologin is enabled with systemd #3

citruspress opened this issue Aug 23, 2024 · 0 comments

Comments

@citruspress
Copy link

A systemd-serial-getty bbappend file enables serial autologin. This shouldn't be enabled by default since it's a security issue.

There's also an image feature for this in scarthgap (serial-autologin-root): https://docs.yoctoproject.org/5.0.3/ref-manual/features.html?highlight=serial-autologin-root.

The referenced bbappend file: https://github.com/compulab-yokneam/meta-compulab/blob/honister/recipes-core/systemd/systemd-serialgetty.bbappend.

A workaround is to mask this bbappend file: BBMASK += " /meta-compulab/recipes-core/systemd/systemd-serialgetty.bbappend "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant