Re: Adding groups to a user

2009-07-23 Thread Aaron Gray
2009/7/23 Steven W. Orr ste...@syslang.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/22/09 23:20, quoth Tony Nelson: On 09-07-22 22:51:23, Steven W. Orr wrote: Right. There's a standard for how command options should work. verb options arguments That's why we have

Adding groups to a user

2009-07-22 Thread Aaron Gray
Hi, I am trying to add group permissions to a user. [root]# usermod ang -a -G git 'groups ang' is just showing 'ang : ang'. Many thanks in advance, Aaron -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines:

Re: Adding groups to a user

2009-07-22 Thread Todd Zullinger
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 -- ToddOpenPGP - KeyID:

Re: Adding groups to a user

2009-07-22 Thread Aaron Gray
209/7/22 Todd Zullinger t...@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

Re: Adding groups to a user

2009-07-22 Thread Steven W. Orr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/22/09 15:41, quoth Aaron Gray: 209/7/22 Todd Zullinger t...@pobox.com mailto:t...@pobox.com Aaron Gray wrote: I am trying to add group permissions to a user. [root]# usermod ang -a -G git 'groups ang' is

Re: Adding groups to a user

2009-07-22 Thread Tony Nelson
On 09-07-22 22:51:23, Steven W. Orr wrote: 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. From `man 3 getopt`: By default, getopt() permutes the

Re: Adding groups to a user

2009-07-22 Thread Steven W. Orr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/22/09 23:20, quoth Tony Nelson: On 09-07-22 22:51:23, Steven W. Orr wrote: 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