[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: applet delgroup is incomplete (bb 1.17.2)
From:       Harald Becker <ralda () gmx ! de>
Date:       2010-09-21 6:31:55
Message-ID: 4C98515B.3000309 () gmx ! de
[Download RAW message or body]

 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

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic