1. Home
  2. Security Hardening
  3. CIS Apache Cassandra 3.11 L2 Unix V1.0.0
  4. Ensure a separate user and group exist for Cassandra – passwd

Ensure a separate user and group exist for Cassandra – passwd

Details

Create separate userid and group for Cassandra.

Rationale:

All processes need to run as a user with least privilege. This mitigates the potential impact of malware to the system.

Solution

Create a group for cassandra(if it does not already exist)

sudo groupadd cassandra

Create a user which is only used for running Cassandra and its related processes.

sudo useradd -m -d /home/cassandra -s /bin/bash -g cassandra -u cassandra

Replacing with a number not already used on the server

References:

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Access Control.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles