Bug 47861
Summary: | passwd reports success even after failure | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | strovato |
Component: | passwd | Assignee: | Tomas Mraz <tmraz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Aaron Brown <abrown> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-03-24 18:38:43 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
strovato
2001-07-08 03:56:57 UTC
Additionally, touching "/etc/passwd.lock" instead of "/etc/shadow.lock" will cause passwd to report failure - even though it succeeded! Exactly the reverse of the first problem... This doesn't apply to the current Fedora/RHEL distributions the passwd locking is done using lckpwdf function which uses /etc/.pwd.lock file and it should handle the locking correctly. |