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

Remove overly specific features that don't belong to the GLOME login protocol #97

Merged
merged 2 commits into from
Jul 1, 2021

Conversation

burgerdev
Copy link
Collaborator

This PR removes two features that are better handled outside the glome-login protocol: handling reboots and handling system lockdown. These features complicate the codebase and are imho not useful for the general public. Interested parties can implement similar features by wrapping the login library.

This feature is too specific to be included in a general purpose
library, removing it in an attempt to simplify the code base.

Lockdown mode should ideally be delegated to pam_nologin.so, or
alternatively tested by a preflight check in the binary linking
GLOME login.
Rebooting is best handled outside of the system's login logic. If it's
desired that logging in with a special username triggers a reboot, this
can be set up with a combination of PAM module and user shell. On
systems where this is not desired, having the option may lead to
disruptive misconfigurations.
@google-cla google-cla bot added the cla: yes label Jun 30, 2021
@burgerdev burgerdev changed the title Cleanup obscurities Remove overly specific features that don't belong to the GLOME login protocol Jun 30, 2021
@burgerdev burgerdev requested review from l9i and pkern June 30, 2021 22:03
@copybara-service copybara-service bot merged commit 0793c8d into master Jul 1, 2021
@copybara-service copybara-service bot deleted the cleanup-obscurities branch July 1, 2021 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants