Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem using useradd when the user alredy exist

Erik Chendo TegonJan 8 2017 — edited Jan 12 2017

Guys, I'm trying to install Oracle 12c Enterprise on Linux Oracle 7.3

I followed all the steps of the documentation.

https://oracle-base.com/articles/12c/oracle-db-12cr1-installation-on-oracle-linux-7

I did all the steps up to the permissions part of groups, however, as usual I anticipate the creation of the USER already at the time of installing LINUX.

So the user oracle alredy exist

After those steps

groupadd -g 54321 oinstall
groupadd
-g 54322 dba
groupadd
-g 54323 oper
groupadd
-g 54324 backupdba
groupadd
-g 54325 dgdba
groupadd
-g 54326 kmdba
groupadd
-g 54327 asmdba
groupadd
-g 54328 asmoper
groupadd
-g 54329 asmadmin

When I do this last step it does not let me continue even though I already have the oracle user

useradd -u 54321 -g oinstall -G dba,oper,backupdba,dgdba,kmdba oracle

Virtual_Box_Oracle_Linux_7_2_12_c_07_01_2017_03.png

Well, I don't know how to proceed with it, i would like a way to  ver uma forma de ADD these permissions on the user already exist oracle.

I have installed the user at the time of installing linux.


How would the correct command be in case the user already exists?

This post has been answered by Erik Chendo Tegon on Jan 11 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 9 2017
Added on Jan 8 2017
10 comments
3,421 views