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

configurable nologin minimum time on shutdown #32558

Open
gcb opened this issue Apr 29, 2024 · 0 comments
Open

configurable nologin minimum time on shutdown #32558

gcb opened this issue Apr 29, 2024 · 0 comments
Labels
login RFE 🎁 Request for Enhancement, i.e. a feature request

Comments

@gcb
Copy link

gcb commented Apr 29, 2024

Component

systemd-logind

Is your feature request related to a problem? Please describe

5min nologin was added to BSD because login procedures could take up to 5min waiting on network home mounts and whatnot. And you wouldn't want to be in the middle of that when you got a halt.

ultra-fast logins/shutdowns are the norm today. (thanks, systemd!)

Noticed this as a recent mistake on KDE (adding nologin.so to the klockscreen PAM files) would prevent me from unlocking my screen for 5min, and realized it doesn't make sense for logins either.

Describe the solution you'd like

logind.conf or env setting allowing users to customize.

ideally with a zero as default/if-missing value (not keeping the anachronistic 5 minutes for the reasons stated above)

low effort patch https://github.com/systemd/systemd/compare/main...gcb:systemd:sane_nologin?expand=1 (still keeps 5min default)

Describe alternatives you've considered

removing auth requisite pam_nologin from my pam.d files.

The systemd version you checked that didn't have the feature you are asking for

No response

@gcb gcb added the RFE 🎁 Request for Enhancement, i.e. a feature request label Apr 29, 2024
@github-actions github-actions bot added the login label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
login RFE 🎁 Request for Enhancement, i.e. a feature request
Development

No branches or pull requests

1 participant