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

Re: Adding groups to a user



209/7/22 Todd Zullinger <tmz pobox com>
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
 
Ah I knew I had to be doing something very silly :}
 
Thanks Todd,
 
Aaron
 


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