# userdel -fr guest Segmentation fault # userdel -f -r guest Segmentation fault # userdel -f guest I think it was because guest had a home dir of /dev/null, so the -r option must have cause useradd to open /dev/null as a directory, and read null from it. This is using the userdel from sys-apps/shadow-4.0.15-r2
yep ... there's some code which calls opendir(/dev/null) and then doesnt check the return value fixed in 4.0.16-r1 and e-mailed upstream, thanks for the report