`adduser [options] user group` fails ubuntu 11.04
- by Rob
I'm want to use adduser
However it doesn't seem to work if I provide the second argument for the user's group
root@a:~# adduser rick staff
adduser: The user `rick' does not exist.
The group exists
root@a:~# addgroup staff
addgroup: The group `staff' already exists.
The man page says this should work...
adduser [options] user group
Any ideas?
I can do:
adduser --ingroup staff rick
So no massive issue, just seems strange.