Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 106218

Summary: useradd seg faults
Product: [Retired] Red Hat Linux Reporter: Bob T. <rdtennent>
Component: shadow-utilsAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 9CC: nalin
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:58:55 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:
Attachments:
Description Flags
output of "strace useradd kde" none

Description Bob T. 2003-10-03 18:44:10 UTC
Description of problem: 
useradd (without -D) segfaults


Version-Release number of selected component (if applicable):
shadow-utils-4.0.3-6



How reproducible:
Every time, and on two separate RH 9 boxes


Steps to Reproduce:
1.useradd anything
2.
3.
    
Actual results:
Segmentation fault (core dumped)


Expected results:
new user


Additional info:
strace to be attached

Comment 1 Bob T. 2003-10-03 18:46:42 UTC
Created attachment 94918 [details]
output of "strace useradd kde"

Comment 2 Bob T. 2003-10-03 18:47:50 UTC
rpm -V shadow-utils  is empty

Comment 3 Bob T. 2003-10-07 14:35:39 UTC
After comparing my trace with the trace of a successful useradd on another RH9
box, I conjectured that useradd was incompatible with libsafe.  And indeed,
after unsetting LD_PRELOAD, useradd no longer segfaults.  But presumably there
is unsafe  
code in useradd, which is somewhat worrisome.

Comment 4 Enrico Scholz 2003-10-08 10:05:16 UTC
Sounds like a dup of bug #89145 (which has a patch)

Comment 5 Bob T. 2003-10-08 11:59:58 UTC

*** This bug has been marked as a duplicate of 89145 ***

Comment 6 Red Hat Bugzilla 2006-02-21 18:58:55 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.