"adduser -D uucp -g root " it doesn't work
Tito
farmatito at tiscali.it
Mon Jan 5 13:52:02 UTC 2009
On Monday 05 January 2009 09:09:53 zhang zhilong wrote:
> who can help me
>
> 2008/12/26 zhang zhilong <zhang.zhilong at gmail.com>
>
> > hi,everybody.
> >
> > when i use command "adduser -D uucp -g root",the busybox doesn't add
> > user uucp to group root .the user uucp is in group uucp .
> > why?
> >
> > --
> > zhang.zhilong
> >
>
>
>
Hi,
busybox's adduser doesn't allow by design to add a user to the group with gid = 0.
It could be questionable if this is a feature or not.... :-) but to change it
adduser would need major code changes.
To achieve your goal you probably can do (untested):
adduser -D uucp
addgroup uucp root
This will create user uucp in group uucp and then add it also to group root.
Ciao,
Tito
More information about the busybox
mailing list