Bug 616370 - "pwck -s" and "grpck -s" fail
Summary: "pwck -s" and "grpck -s" fail
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: shadow-utils
Version: 13
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 586322
Blocks:
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-4.1.4.2-8.fc13
Clone Of: 586322
Environment:
Last Closed: 2010-07-23 02:43:37 UTC
Type: ---
Embargoed:


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
complete.

regards,

Florian La Roche



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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

--- Additional comment from sgrubb 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-4.1.4.2-fixes patch which affects the sorting of passwd records during matching.

Comment 1 Fedora Update System 2010-07-20 09:36:07 UTC
shadow-utils-4.1.4.2-8.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/shadow-utils-4.1.4.2-8.fc13

Comment 2 Fedora Update System 2010-07-23 02:43:32 UTC
shadow-utils-4.1.4.2-8.fc13 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.