Bug 616370 - "pwck -s" and "grpck -s" fail
Summary: "pwck -s" and "grpck -s" fail
Alias: None
Product: Fedora
Classification: Fedora
Component: shadow-utils
Version: 13
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Fedora Extras Quality Assurance
Depends On: 586322
TreeView+ depends on / blocked
Reported: 2010-07-20 09:29 UTC by Peter Vrabec
Modified: 2010-07-23 02:43 UTC (History)
6 users (show)

Fixed In Version: shadow-utils-
Doc Type: Bug Fix
Doc Text:
Clone Of: 586322
Last Closed: 2010-07-23 02:43:37 UTC

Attachments (Terms of Use)

Description Peter Vrabec 2010-07-20 09:29:46 UTC
+++ This bug was initially created as a clone of Bug #586322 +++

Description of problem:

Running "pwck -s" and "grpck -s" on the public
RHEL6 beta fails. Both commands just hang and do not


Florian La Roche

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

--- Additional comment from sgrubb@redhat.com on 2010-07-19 10:16:25 EDT ---

Investigation into this bug reveals that it has a nasty side effect. What causes the hang is that it doesn't match the nfsnobody entry and loops continually. It depends on the order or accounts in the passwd file as to whether or not you hang. If you do not hang, the nasty side effect is that it DELETES one record from your passwd file without prompting. If you run this a few times, it will surely delete your login account from the passwd file and you cannot get back in the machine. It would appear that the cause of the problem is the first chunk of the shadow- patch which affects the sorting of passwd records during matching.

Comment 1 Fedora Update System 2010-07-20 09:36:07 UTC
shadow-utils- has been submitted as an update for Fedora 13.

Comment 2 Fedora Update System 2010-07-23 02:43:32 UTC
shadow-utils- has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.