Create the Exasol user
When you have configured the necessary network settings, the next step is to create a dedicated user for the Exasol software on each host. This user must have sudo privileges to be able to install and update Exasol.
Create a user
You must create a dedicated user for the Exasol software on each database host. This user must have sudo privileges and a system shell that allows access over SSH.
The name of the installation user can be set freely within the restrictions of the operating system, but must be identical on all hosts. In the following examples, the installation user is called exasol
.
To install Exasol for a non-root user, some additional configuration steps are required. For more information, see Rootless Installation.
In the following examples the installation user is created by a user that has sudo privileges. If you carry out this operation as root, omit the sudo command.
-
Create the user
exasol
with a corresponding home directory in/home/user
:Copysudo adduser -m exasol
-
Add the user to the
sudoers
group:Copysudo usermod -aG sudo exasol
-
Assign a password for the user:
Copysudo passwd exasol
-
Log out (or create a new session) and log in as the user
exasol
. -
Verify that the user has sudo privileges using
sudo whoami
. The command should returnroot
.Copysudo whoami
root -
Repeat steps 1 to 5 on each of the database hosts.