Re: Adding groups to a user

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/22/09 15:41, quoth Aaron Gray:
> 209/7/22 Todd Zullinger <[email protected] <mailto:[email protected]>>
> 
>     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
>  
> 

Right. There's a standard for how command options should work.

verb options arguments

That's why we have getopt and that's why I shudder when I see people
reinventing wheels.

- --
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkpn0CsACgkQRIVy4fC+NyRsmACfRHv4UHGgzyRM7T55a4B+BlAy
UukAoIJwi3TSCTXbqI9LWe1pGH0eWI2M
=Uzgj
-----END PGP SIGNATURE-----

-- 
fedora-list mailing list
[email protected]
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