what's wrong with my command in usermod?

rpowersau at gmail.com rpowersau at gmail.com
Sun Sep 10 08:02:10 UTC 2006


sudo usermod -G groupname -a username

On 9/10/06, Gabriel M Dragffy <dragffy at yandex.ru> 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?
>
> Cheers,
> Gabe
>
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


-- 
Regards,
Russ




More information about the ubuntu-users mailing list