How to add an existing user to an existing group

Didier Kryn kryn at in2p3.fr
Tue Sep 18 08:18:01 UTC 2012


     Hi Jan.

     I think it is just the oposite of what you typed:

     adduser daemon mygroup

     At least for GNU's adduser. Maybe BB's adduser misses the feature, 
otherwise the error message would be weird.

     Didier

Le 18/09/2012 09:24, Jan Pohanka a écrit :
> Hello,
>
> I can't found proper command to add an existing user to an existing 
> group. I have tried following:
>
> user daemon exists as well as group mygroup
>
> # adduser -D -H -G mygroup daemon
> adduser: user 'daemon' in use
>
> Tested on Busybox v1.20.0
>
> regards
> Jan
>



More information about the busybox mailing list