Solved

user exists

Posted on 2013-06-03
6
551 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 250 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 250 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 77

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Fine Tune your automatic Updates for Ubuntu / Debian
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

763 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