1833758 Members
2750 Online
110063 Solutions
New Discussion

remve user from group

 
chandregowda
Advisor

remve user from group

HI

How to remove user abc123 from secondorygroup "work"

It has only one secondary group "work"

Thanks
chandra
5 REPLIES 5
Venkatesh BL
Honored Contributor

Re: remve user from group

You use 'sam' to do it.
chandregowda
Advisor

Re: remve user from group

Thx venkatesh

but i need command line options
V. Nyga
Honored Contributor

Re: remve user from group

Hi,

'sam' - Accounts for Users and Groups - Groups - choose the group, mark the user 'abc123' - choose 'Remove'

Volkmar
*** Say 'Thanks' with Kudos ***
Matti_Kurkela
Honored Contributor

Re: remve user from group

usermod -G "" abc123

MK
MK
SKR_1
Trusted Contributor

Re: remve user from group

Hi

usermod -G (primary group name) (user ID)


Thanks

SKR