Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Create a service user on RHEL 6.6

Attila Levente EGYEDI edited this page Apr 7, 2017 · 2 revisions

The RHEL 6.6 path implies test, demo or production environment. In this scenario it is recommended to created a dedicated service user.

This guide assumes that the user will be called cedar. Although the user will have a home directory, we will not install the server components into that directory.

Create the cedar user, set its password

useradd cedar 
passwd cedar

Switching users

Under some circumstances could be impractical or even impossible to log in to the server with this new user. In these cases log in to the server with your own user, and switch to cedar

sudo su - cedar

In order to do this, you will need sudo rights. Please consult the administrator of the given server to make all this possible. What you will need at the end is having shell access with the cedar user to the server.

Clone this wiki locally