Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

/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

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

share|improve this answer

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

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

Make sure you have an oinstall group created, if not:

    groupadd -g 501 oinstall

Once you have oinstall, try below command (make sure there is no space in comma separated values dba,oper):

    useradd -g oinstall -G dba,oper oracle
share|improve this answer
    
The missing groups were dba and oper, not oinstall. – Jenny D Nov 7 '15 at 9:18

Your Answer

 
discard

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