LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   a user can be in two groups? (https://www.linuxquestions.org/questions/linux-newbie-8/a-user-can-be-in-two-groups-27848/)

joeslazenger 08-13-2002 01:06 PM

a user can be in two groups?
 
user1 is in groupA
I'd like for user1 to be part of groupB though.

Do you know of a way to change that?

Thanks
Slaz

trickykid 08-13-2002 01:08 PM

either add them from the command line using the useradd command, man useradd for more options.
or you can edit your /etc/group file and add the user in the appropiate group that way.

trickykid 08-13-2002 01:12 PM

my bad, that command is usermod , not useradd to modify an existing user.


All times are GMT -5. The time now is 05:47 PM.