Bug 86414
Summary: | RFE: sanity checking for password unlocking function | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matthew Miller <mattdm> |
Component: | libuser | Assignee: | Miloslav Trmač <mitr> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | Keywords: | FutureFeature |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.53-1 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-11-14 22:48:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Matthew Miller
2003-03-21 17:41:30 UTC
As much as I would like to be able to differentiate between "user is never meant to log in" and "user has an empty password, but the account is currently locked": * existing practice does not support this (shadow-utils use "!!" for "never log in", libuser for "empty password, locked" * it's an incompatible API change * libuser users have a reasonable right to expect that removepass->lock->unlock works and results in an account with no password. How about the other way around -- a "safe unlock" function, which will never leave an account unprotected? libuser-0.53 provides lu_user_unlock_nonempty () and lu_group_unlock_nonempty(). The Python unlockUser and unlockGroup functions have an optional 'nonempty' parameter. Thank you very much! |