Adding groups to a user

Todd Zullinger tmz at pobox.com
Wed Jul 22 19:19:13 UTC 2009


Aaron Gray wrote:
> I am trying to add group permissions to a user.
>
> [root]# usermod ang -a -G git
>
> 'groups ang' is just showing 'ang : ang'.

The order matters to usermod I believe.  Put the options before the
username, e.g.:

    # usermod -a -G git ang

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Politics:  A strife of interests masquerading as a contest of
principles.  The conduct of public affairs for private advantage.
    -- Ambrose Bierce

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090722/08927e42/attachment-0001.sig>


More information about the fedora-list mailing list