anything wrong

[root@server1 ~]# /usr/sbin/useradd -u 502 -c "Oracle RDBMS Owner" -g oinstall -G dba,oper,asmdba
Usage: useradd [options] LOGIN

Options:
  -b, --base-dir BASE_DIR       base directory for the new user account
                                home directory
  -c, --comment COMMENT         set the GECOS field for the new user account
  -d, --home-dir HOME_DIR       home directory for the new user account
  -D, --defaults                print or save modified default useradd
                                configuration
  -e, --expiredate EXPIRE_DATE  set account expiration date to EXPIRE_DATE
  -f, --inactive INACTIVE       set password inactive after expiration
                                to INACTIVE
  -g, --gid GROUP               force use GROUP for the new user account
  -G, --groups GROUPS           list of supplementary groups for the new
                                user account
  -h, --help                    display this help message and exit
  -k, --skel SKEL_DIR           specify an alternative skel directory
  -K, --key KEY=VALUE           overrides /etc/login.defs defaults
  -m, --create-home             create home directory for the new user
                                account
  -l,                       do not add user to lastlog database file
  -M,                       do not create user's home directory(overrides /etc/login.defs)
  -r,                       create system account
  -o, --non-unique              allow create user with duplicate
                                (non-unique) UID
  -p, --password PASSWORD       use encrypted password for the new user
                                account
  -s, --shell SHELL             the login shell for the new user account
  -u, --uid UID                 force use the UID for the new user account
  -Z, --selinux-user SEUSER     use a specific SEUSER for the SELinux user mapping

[root@server1 ~]#
jcob_lAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RindbaekSenior ConsultantCommented:
what is your problem?
0
jcob_lAuthor Commented:
some thing wrong with the command...
Clarify
0
RindbaekSenior ConsultantCommented:
its much easier for us to help you if you describe

1. what do you try to achieve

2. what did you do to achieve it

3. What happend, including the error message


And please remember that, the experts are volunteers that likes to help other people, not employees of EE.
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Alexander Eßer [Alex140181]Software DeveloperCommented:
where is the username?!

i.e.:
useradd -u 502 -c "Oracle RDBMS Owner" -g oinstall -G dba,oper,asmdba oracle
0
jcob_lAuthor Commented:
root
0
Alexander Eßer [Alex140181]Software DeveloperCommented:
You posted that "screen" before, so yes, I see you're logged in as root ;-)

I mean: what is the user(name) you're trying to add?!
0
PortletPaulfreelancerCommented:
@jcob_l

the question is not clear.

Is this correct:
In Linux you are logged in is as root?

Then you have issued the command:
useradd -u 502 -c "Oracle RDBMS Owner" -g oinstall -G dba,oper,asmdba

and then an error occurred?

What I believe Alex140181 has suggested is that the command needs more
such as:

useradd -u 502 -c "Oracle RDBMS Owner" -g oinstall -G dba,oper,asmdba new_ora_user

i.e. the 'new_ora_user' is the user identity that you require in Oracle (with those permissions)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jcob_lAuthor Commented:
yes
0
Alexander Eßer [Alex140181]Software DeveloperCommented:
congrats paul ;-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.