[Bug 211195] pw userdel Segmentation fault (core dumped)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 18 12:02:16 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211195

            Bug ID: 211195
           Summary: pw userdel Segmentation fault (core dumped)
           Product: Base System
           Version: 10.3-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: eniorm at gmail.com
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

Hello all

This is the first time I saw a bug in pw command.

I ran this command: pw user del username -r

For few users, and only one reported this error: Segmentation fault (core
dumped)

But the username was removed correctly. 

System:
FreeBSD servidor.teste.net 10.3-STABLE FreeBSD 10.3-STABLE #0 r301006: Mon May
30 22:05:33 BRT 2016     root at samba.teste.net:/usr/obj/usr/src/sys/SAMBA  amd64

Rerun the steps

# pw user add someuser -g somegroup -d "/dev/null" -s "/usr/sbin/nologin"

# pw user del someuser -r
Segmentation fault (core dumped)

# pw user show someuser
pw: no such user 'someuser'


The pw.core dump core file cannot be attached because it too large (8,5M)

thanks

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list