Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 580
  • Last Modified:

user exists

/usr/sbin/useradd -u 502 -c "Oracle RDBMS Owner" -g oinstall -G dba,oper,asmdba oracle
useradd: user oracle exists
0
walkerdba
Asked:
walkerdba
2 Solutions
 
slightwv (䄆 Netminder) Commented:
>>useradd: user oracle exists

And?

The error seems self-explanatory  You are trying to add a user that already exists.
0
 
MazdajaiCommented:
id oracle

Open in new window

0
 
omarfaridCommented:
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
 
walkerdbaAuthor Commented:
ok
0
 
slightwv (䄆 Netminder) Commented:
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now