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

Re: Adding groups to a user



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: pgpTSNElRf1q4.pgp
Description: PGP signature


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