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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-23-2004, 06:55 PM
|
#1
|
LQ Newbie
Registered: Jun 2004
Location: Fontana, California
Distribution: RHEL
Posts: 22
Rep:
|
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.
|
|
|
06-23-2004, 08:13 PM
|
#2
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
What /etc/group looks like?
|
|
|
06-23-2004, 08:13 PM
|
#3
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Sorry brain fart
Last edited by homey; 06-23-2004 at 08:25 PM.
|
|
|
06-23-2004, 08:19 PM
|
#4
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
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.
|
|
|
06-23-2004, 08:59 PM
|
#5
|
LQ Newbie
Registered: Jun 2004
Location: Fontana, California
Distribution: RHEL
Posts: 22
Original Poster
Rep:
|
my /etc/group has the following for the oracle user and the dba and oinstall groups
dba:x:513 racle
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.
|
|
|
All times are GMT -5. The time now is 06:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|