On 12/03, [email protected] wrote:
> Is there a way to add system users with UIDs below 1000 to CoreOS image? 

You can use Ignition to create users:

  {
    "ignition": { "version": "2.0.0" },
    "passwd": {
      "users": [{
        "name": "me",
        "create": { "uid": 400 }
      }]
    }
  }

This results in the following:

  $ id
  uid=400(me) gid=1000(me) groups=1000(me) context=system_u:system_r:kernel_t:s0

> They required for running some service units.

Why do the services require users with specific UIDs?

-Alex

Attachment: signature.asc
Description: Digital signature

Reply via email to