Skip to content

[Feature Req] System user for hardened RKE2 #807

@jiwonhu

Description

@jiwonhu

Got a customer requiring to CIS-harden RKE2. This requires to create etcd user as system user and humans should not be allowed to log in: https://docs.rke2.io/security/hardening_guide#etcd-is-configured-properly

sudo useradd -r -c "etcd user" -s /sbin/nologin -M etcd -U

AFAIK there is no way to specify -r and -s /sbin/nologin in user section of EIB yaml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions