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.
Got a customer requiring to CIS-harden RKE2. This requires to create
etcduser as system user and humans should not be allowed to log in: https://docs.rke2.io/security/hardening_guide#etcd-is-configured-properlysudo useradd -r -c "etcd user" -s /sbin/nologin -M etcd -UAFAIK there is no way to specify
-rand-s /sbin/nologinin user section of EIB yaml.