what's wrong with my command in usermod?

Michael R. Head burner at suppressingfire.org
Sun Sep 10 16:27:34 UTC 2006


On Sun, 2006-09-10 at 15:52 +0100, Gabriel M Dragffy wrote:
> Looking at the help output/man pages of usermod, I find this:
> 
>  -G, --groups GROUPS           list of supplementary groups
>                 -a, --append    Use -a option to append the user
> 
> So the -a should append said user to the list of groups. If I attemp the
> following command I get an unexpected result:
> 
> $ sudo usermod -a nogroup username
> Password:
> Usage: usermod [options] LOGIN
> 
> And it just continues to list the help pages. Hmmm! I guess I'm reading
> it wrong, but which part?

I prefer "sudo adduser username nogroup"

mike

> Cheers,
> Gabe
> 
> 
> 
> 
-- 
Michael R. Head <burner at suppressingfire.org>
suppressingfire.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060910/66d012ee/attachment.sig>


More information about the ubuntu-users mailing list