Re: Adding groups to a user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpTROIRpCZYb.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux