On Tuesday 21 September 2010 01:55:11 Harald Becker wrote:
> Whops ...
>
> I tried to delete a user from a group using busybox 1.17.2 delgroup applet:
>
> delgroup myuser mygroup
>
> --> can't remove primary group of user
>
> The primary group of myuser is users not mygroup.
>
> ... after a short look in deluser.c: It doesn't look there is any code
> to delete a user from a group, only the above message is displayed
> without trying to do anything!? Did someone miss something or has
> something got lost? Is it already fixed in newer versions?
>
> --
> Harald
>
> PS: I'll pick up the other topics as soon as I'm coming around ... lost
> too much time (several issues, not only busybox).
>
Hi,
did you enable ENABLE_FEATURE_DEL_USER_FROM_GROUP?
Did you try: deluser myuser mygroup ?
See man deluser:
Remove a user from a specific group
If called with two non-option arguments, deluser will remove a user
from a specific group.
Ciao,
Tito
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox