Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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!!!

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

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

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

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

share|improve this answer
add comment

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

share|improve this answer
add comment

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
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.