LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-19-2012, 04:53 AM   #1
Huamin
Member
 
Registered: May 2011
Posts: 562

Rep: Reputation: 12
Issue to create "oracle" user


Hi,
I am to create one “oracle” user in my Red Hat but I’ve got this

[root@hpi5 ~]# /usr/sbin/useradd -u 502 -g oinstall -G dba,asmdba oracle
useradd: unknown group oinstall
[root@hpi5 ~]#

How to resolve it?

Many Thanks & Best Regards,
HuaMin

Last edited by Huamin; 05-19-2012 at 04:56 AM.
 
Old 05-19-2012, 05:05 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by Huamin View Post
Hi,
I am to create one “oracle” user in my Red Hat but I’ve got this

[root@hpi5 ~]# /usr/sbin/useradd -u 502 -g oinstall -G dba,asmdba oracle
useradd: unknown group oinstall
[root@hpi5 ~]#

How to resolve it?

Many Thanks & Best Regards,
HuaMin
There's no group called oinstall, you need to create it using the groupadd command.
 
Old 05-20-2012, 08:54 PM   #3
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Thanks. Does the following mean I have to add the 2 users too?
[root@hpi5 ~]# /usr/sbin/useradd -u 502 -g oinstall -G dba,asmdba oracle
useradd: unknown group dba
useradd: unknown group asmdba
[root@hpi5 ~]#

Many Thanks & Best Regards,
HuaMin
 
Old 05-21-2012, 01:51 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by Huamin View Post
Thanks. Does the following mean I have to add the 2 users too?
[root@hpi5 ~]# /usr/sbin/useradd -u 502 -g oinstall -G dba,asmdba oracle
useradd: unknown group dba
useradd: unknown group asmdba
[root@hpi5 ~]#

Many Thanks & Best Regards,
HuaMin
Add 2 users? No, you need to add the 2 missing groups. Same useradd message as given in post #1, why would the solution be different?
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I create user "hidden" files? widget Debian 11 06-03-2011 06:34 PM
[SOLVED] While script issue, "cannot create directory..." Karas Linux - Newbie 10 11-25-2009 02:51 PM
Dynamips issue!!! "Hypervisor: unable to create TCP sockets" pvandyk2005 Slackware 1 07-25-2008 07:56 AM
Create a user with "shut down" privilege? John79 Linux - Server 1 02-18-2008 03:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration