up vote 0 down vote favorite
share [g+] share [fb]

New to linux redhat and oracle 10g. Having problems creating an Oracle software user.

Input as /root

/user/sbin/useradd -g oinstall -G dba[,oper] oracle

Output

useradd: unknown group dba[ useradd: unknown group oper]

cat /etc/group showed the above groups were created.

Need help!!!

link|improve this question
This has nothing to do with Oracle.. – Benoit Oct 11 '09 at 9:38
feedback

4 Answers

/user/sbin/useradd -g oinstall -G dba[,oper] oracle

[] means optional input

use /user/sbin/useradd -g oinstall -G dba oracle

This is a very good link with instrunctions: http://www.oracle-base.com/articles/10g/OracleDB10gInstallationOnRedHatAS4.php

link|improve this answer
+1 for the link to oracle base, the article is very good. – Roy Oct 11 '09 at 17:09
feedback

I believe what you['re seeing is that you need to create the group first using groupadd

link|improve this answer
feedback

for when you have resolved the group issue - my standard resource for Oracle installs on Linux - http://www.puschitz.com

Specifically instructions for redhat here

link|improve this answer
feedback

You don't really need the oper group, which is why it's shown as [optional].

groupadd dba
groupadd oinstall
useradd -g oinstall -G dba oracle
link|improve this answer
feedback

Your Answer

 
or
required, but never shown