I am trying to bulk-add 433 users via newusers.

The newuserlist.txt file I have contains users with up to 16 chars usernames with questionable patterns (numbers at the beginning and capital letters).

However, trying to do:

# newusers newuserlist.txt

just quits with

Segmentation fault (core dumped)

and doesn't add any user. Is newuserlist.txt too large?

  • Congratulations!!!!!! you've found an ugly bug, please notify the manteiner of the package/s so that the bug is fixed and we all can benefit from it. In Debian systems you can use reportbug to inform the mantainers. – YoMismo Oct 5 '15 at 6:44
  • In order to help with your question the information contained in newuserlist.txt would help. I guess you set it up according to paswd's field format, since that is the format the manual says it should have with the execptions pointed out in the manual man newusers. – YoMismo Oct 5 '15 at 6:49
  • I did. Here the newuserlist file: link – tildearrow Oct 5 '15 at 6:59
  • Have you identified the line that spawns the segfault? On a quick scan the lines appear to be OK (The number of fields is correct, even though I don't know if the password field can be blank) – YoMismo Oct 5 '15 at 7:26
  • The password can be blank. And the second one. – tildearrow Oct 5 '15 at 7:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.