Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

user exists

Posted on 2013-06-03
6
Medium Priority
?
577 Views
Last Modified: 2013-06-06
/usr/sbin/useradd -u 502 -c "Oracle RDBMS Owner" -g oinstall -G dba,oper,asmdba oracle
useradd: user oracle exists
0
Comment
Question by:walkerdba
6 Comments
 
LVL 78

Accepted Solution

by:
slightwv (䄆 Netminder) earned 1000 total points
ID: 39216558
>>useradd: user oracle exists

And?

The error seems self-explanatory  You are trying to add a user that already exists.
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39216605
id oracle

Open in new window

0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 1000 total points
ID: 39216654
you can see from the error that the user exists with the same name

you can check this by

grep username /etc/passwd

or you could run

finger username

to see if user exists
0
 

Author Comment

by:walkerdba
ID: 39218317
ok
0
 
LVL 78

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39219757
walkerdba,

Can you explain why you did not at least split the points?  The post you accepted was basically the same thing that I posted.  The only difference was a couple of commands to confirm the user already exists which is sort of unnecessary based on the error message.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question