Wednesday, April 13, 2016

Create the new groups and user for GoldenGate sofwtare. - STEP -1

This is an optional setup. By doing this you can separate the golden gate user access from other users like oracle, RAC user etc. While some prefer to have GG software installed with in oracle user. I like to have it separated.

Create the new groups and user for GoldenGate replication sofwtare.

groupadd ggowner  ## Adding new group ggowner
useradd -g ggowner -G dba,oper gguser ## Adding new user gguser & add to groups default ggowner additional dba,oper,oinstall

WE CAN QUERY THESE NEW USERS IN LINUX:


[root@Linux03 Desktop]# cat /etc/passwd |grep gguser
gguser:x:501:501:golden gate user:/home/gguser:/bin/bash
gguser1:x:502:54331::/home/gguser1:/bin/bash

LOGIN AS NEW USER :

[root@Linux03 Desktop]# su gguser

CHECK THE GROUPS GGUSER IS PART OF :

[gguser@Linux03 Desktop]$ id
uid=501(gguser) gid=501(gguser) groups=501(gguser),54321(oinstall),54322(dba),54330(ggowner) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c102

No comments:

Post a Comment