How to add an existing user to an existing group

2012-09-18 Thread Jan Pohanka
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 -- Tato zpráva byla vytvořena

Re: How to add an existing user to an existing group

2012-09-18 Thread walter harms
Am 18.09.2012 09:24, schrieb Jan Pohanka: 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

Re: How to add an existing user to an existing group

2012-09-18 Thread Jan Pohanka
Personaly, i use vi and edit /etc/group. The last entry is a comma separated list of users. Yes, this is an option, but in most distributions manual editing of /etc/passwd or /etc/group is not recommended... regards Jan -- Tato zpráva byla vytvořena převratným poštovním klientem Opery:

Re: How to add an existing user to an existing group

2012-09-18 Thread walter harms
Am 18.09.2012 09:52, schrieb Jan Pohanka: Personaly, i use vi and edit /etc/group. The last entry is a comma separated list of users. Yes, this is an option, but in most distributions manual editing of /etc/passwd or /etc/group is not recommended... If you prefer you can write an ed

Re: How to add an existing user to an existing group

2012-09-18 Thread Didier Kryn
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

Re: How to add an existing user to an existing group

2012-09-18 Thread Jan Pohanka
When configuring your Busybox, did you check [*] Support for adding users to groups ? Didier That's it. Thank you -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/ ___ busybox mailing

Re: [vamos-dev] [PATCH 1/3] fix literal error warning

2012-09-18 Thread Manuel Zerpies
Hej guys, [] -bb_perror_msg(filename); +bb_perror_msg(%s, filename); Please stop fixing a non-issue. This GCC warning is wrong. This has been discussed several times, and exactly the same patch has been proposed several times too. Actually, that half of

[ PATCH] was Re: How to add an existing user to an existing group

2012-09-18 Thread Tito
On Tuesday 18 September 2012 14:27:16 Tito wrote: On Tuesday 18 September 2012 09:24:58 Jan Pohanka wrote: 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

Re: [ PATCH] was Re: How to add an existing user to an existing group

2012-09-18 Thread Tito
Hi, attached v2 of the patch with a minor cleanup. Hints and critics are welcome. Ciao, Tito Allow adduser user group v2 Signed off by Tito Ragusa farmat...@tiscali.it --- loginutils/adduser.c.original 2012-07-31 21:23:24.0 +0200 +++ loginutils/adduser.c2012-09-18