applet delgroup is incomplete (bb 1.17.2)
Harald Becker
ralda at gmx.de
Tue Sep 21 06:31:55 UTC 2010
Hi Tito!
> did you ...
I did. I did even more ... I looked in the source code (deluser.c as
this one is called on delgroup too). There is no code to delete a user
from a group, only code to delete a group or a user.
delgroup --help
shows up with the possibly to delete users from group (2 arguments) and
I tried ...
delgroup myuser mygroup
--> delgroup: can't remove primary group of user myuser
central:busybox-1.17.2> grep GROUP .config
CONFIG_FEATURE_FIND_GROUP=y
CONFIG_ADDGROUP=y
# CONFIG_FEATURE_ADDGROUP_LONG_OPTIONS is not set
CONFIG_FEATURE_ADDUSER_TO_GROUP=y
CONFIG_DELGROUP=y
CONFIG_FEATURE_DEL_USER_FROM_GROUP=y
Press any key to continue...
More questions?
--
Harald
More information about the busybox
mailing list