LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-23-2004, 06:55 PM   #1
giovannym
LQ Newbie
 
Registered: Jun 2004
Location: Fontana, California
Distribution: RHEL
Posts: 22

Rep: Reputation: 15
Unhappy useradd problem


Hello everyone, Thanks to all of you who help us newbies out. I'm struggling a bit learning linux, but I already like it more than windows. Anyway, my question is this. I'm attempting to install oracle on my red hat 9 box. I'm creating the Oracle user accounts like this logged in as root:

# groupadd dba
# groupadd oinstall
# useradd -c "Oracle software owner" -g oinstall -G dba oracle
useradd: unknown gid 100

I get the following when I try to use the useradd command. Anyone know why it says that? Any help would be greatly appreciated. Thanks everyone.
 
Old 06-23-2004, 08:13 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
What /etc/group looks like?
 
Old 06-23-2004, 08:13 PM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Sorry brain fart

Last edited by homey; 06-23-2004 at 08:25 PM.
 
Old 06-23-2004, 08:19 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Quote:
Originally posted by homey
I'm not sure why you are using both the -g and -G features but on the last one you have
-G dba oracle but the group which you made is only called dba
Please refer to man useradd,
he is trying to create a user oracle in group oinstall and also be a member of group dba.
 
Old 06-23-2004, 08:59 PM   #5
giovannym
LQ Newbie
 
Registered: Jun 2004
Location: Fontana, California
Distribution: RHEL
Posts: 22

Original Poster
Rep: Reputation: 15
my /etc/group has the following for the oracle user and the dba and oinstall groups

dba:x:513racle
oinstall:x:514:

I went and used the graphical tool to try and see if it looked fine, and as far as I can see the oracle user was created with the primary group being oinstall and secondary group being dba. I just found that odd, wasn't expecting to see that message.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
useradd problem ruben0076 Linux - Newbie 4 01-11-2005 12:28 PM
useradd problem efanning Linux - Newbie 1 07-29-2004 08:24 PM
useradd Problem deepakjena_2003 Linux - Newbie 2 01-19-2004 09:21 AM
useradd -p problem gizbon Linux - General 4 11-11-2002 04:03 PM
useradd problem scatcat Linux - Newbie 3 06-21-2002 04:33 AM


All times are GMT -5. The time now is 06:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration