-   Linux - Software (
-   -   "groupmod -A" missing (

fakie_flip 10-28-2012 04:49 AM

"groupmod -A" missing
1 Attachment(s)
I am watching some videos meant to help prepare for the Linux+ Certification Exams (there's 2). This guy is using a Suse system for demonstrating. He then uses groupmod -A and it works on his system. However my groupmod does not have a -A option on CentOS 6.3. See the attached picture.

druuna 10-28-2012 05:40 AM

Too my knowledge, groupmod's -A option is Suse specific (adding multiple users to a group). The "out of the box" linux tools do not support this.

In general you can use usermod to add group(s) to one specific user:

usermod -aG group1,group2 user

fakie_flip 10-29-2012 03:54 AM

So without Suse, you can't add several users to a group in one command?

The example you show is adding a single user to several groups rather than adding several users to one group.

All times are GMT -5. The time now is 06:01 AM.