Linux

How to Change Primary Group of a User in Linux

Posted on
Change Primary Group In our case, there’s a user called oracle who has identification like following: [root@test ~]# id oracle uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba) I would like to change the primary group to dba and let oinstall join the secondary group. That is to say, my purpose is to switch the places of dba and oinstall. […]