LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Adding secondary groups (https://www.linuxquestions.org/questions/linux-general-1/adding-secondary-groups-88740/)

thepurpleblob 09-03-2003 04:20 AM

Adding secondary groups
 
Can anybody suggest a better way of adding or removing a user's secondary groups on the command line?

The obvious command is usermod and the -G option. However this requires a complete list of groups not just the one to add (or take away). This is less than convenient

Any thoughts?

BajaNick 09-03-2003 10:19 AM

Try " man groupadd " in the console, that might be what you want.


All times are GMT -5. The time now is 01:48 PM.