Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

It's been over 10 years since I last used RedHat (which I believe that Oracle Linux came from). So I cannot remember the steps to create a new user, add them to the appropriate groups, set up their home environment, etc.

I can find individual commands for Oracle Linux, but no work flow on how to go about the process (as in what steps an admin must follow to do the complete process of adding a new user to the Oracle Linux environment).

Could someone provide the recommended steps when a new user is required for a Oracle Linux system please?

--- edit ---

I should note that I'm dealing with a headless system so I need to know how to do this from the command line. Looking at the resources on the oracle site keeps showing GUI ways to do things intermingled with the CLI. For example, it states the command of how to create a user at the command line, but doesn't show how to set the user name via the command line. Instead it shows the GUI User Manager tool.

share|improve this question
You can use the GUI tools on a headless server if you choose to. Just use X11 forwarding with ssh -X. –  jordanm Oct 18 '13 at 3:42
useradd is your friend on any distribution. I can't give you the full command since I don't know what exactly you want, but the command's manual page will clear it up for you. –  schaiba Oct 26 '14 at 13:10

1 Answer 1

Since Oracle Linux is very similar to Red Hat Enterprise Linux, you may find useful the section "User and Group Management Tools" of RHEL 5 Deployment Guide available here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.