[Bug 6728] adduser command
bugzilla at busybox.net
bugzilla at busybox.net
Fri Dec 20 19:45:38 UTC 2013
https://bugs.busybox.net/show_bug.cgi?id=6728
Denys Vlasenko <vda.linux at googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> 2013-12-20 19:45:37 UTC ---
(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.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list