| Summary: | adduser command | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Menporul Poriyaalargal <tryhardtrybest> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.21.x | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | executed command snapshot | ||
(In reply to comment #0) > Created attachment 5132 [details] > executed command snapshot > > busybox executes "addgroup" when "adduser" command is executed. > This is with 1.21.1 version of busybox cross-compiled for ARM with > arm-linux-gnueabi- toolchain. The bug is that "adduser" with no params should error out, but there is no check for that. So it trues to create NULL user. For that, it runs "addgroup -- <NULL> users" which isn't going to work - it prints help instead. Fixed in git. |
Created attachment 5132 [details] executed command snapshot busybox executes "addgroup" when "adduser" command is executed. This is with 1.21.1 version of busybox cross-compiled for ARM with arm-linux-gnueabi- toolchain.